Skip to content

Commit

Permalink
Set grid as default
Browse files Browse the repository at this point in the history
  • Loading branch information
oandregal committed Apr 4, 2024
1 parent b59d363 commit 97f8d6c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const defaultConfigPerViewType = {
};

const DEFAULT_VIEW = {
type: LAYOUT_TABLE,
type: LAYOUT_GRID,
search: '',
page: 1,
perPage: 20,
Expand All @@ -87,7 +87,7 @@ const DEFAULT_VIEW = {
// All fields are visible by default, so it's
// better to keep track of the hidden ones.
hiddenFields: [ 'preview' ],
layout: defaultConfigPerViewType[ LAYOUT_TABLE ],
layout: defaultConfigPerViewType[ LAYOUT_GRID ],
filters: [],
};

Expand Down

0 comments on commit 97f8d6c

Please sign in to comment.