Skip to content

Commit

Permalink
hide preview column by default for table view in patterns page (WordP…
Browse files Browse the repository at this point in the history
…ress#63213)

Co-authored-by: akasunil <[email protected]>
Co-authored-by: t-hamano <[email protected]>
Co-authored-by: jameskoster <[email protected]>
Co-authored-by: carolinan <[email protected]>
  • Loading branch information
5 people authored and huubl committed Jul 10, 2024
1 parent d63910a commit 6dcd461
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/edit-site/src/components/page-patterns/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ const DEFAULT_VIEW = {
layout: {
...defaultConfigPerViewType[ LAYOUT_GRID ],
},
fields: [ 'title', 'sync-status' ],
filters: [],
};

Expand Down Expand Up @@ -285,7 +286,6 @@ export default function DataviewsPatterns() {
<Preview item={ item } viewType={ view.type } />
),
enableSorting: false,
enableHiding: false,
width: '1%',
},
{
Expand Down

0 comments on commit 6dcd461

Please sign in to comment.