Skip to content

Commit

Permalink
Templates & parts: mark list layout stable
Browse files Browse the repository at this point in the history
  • Loading branch information
oandregal committed Mar 14, 2024
1 parent 8cb497f commit 17efcaf
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,6 @@ const { useHistory, useLocation } = unlock( routerPrivateApis );

const EMPTY_ARRAY = [];

const SUPPORTED_LAYOUTS = window?.__experimentalAdminViews
? [ LAYOUT_TABLE, LAYOUT_GRID, LAYOUT_LIST ]
: [ LAYOUT_TABLE, LAYOUT_GRID ];

const defaultConfigPerViewType = {
[ LAYOUT_TABLE ]: {
primaryField: 'title',
Expand Down Expand Up @@ -473,7 +469,6 @@ export default function PageTemplatesTemplateParts( { postType } ) {
onChangeView={ onChangeView }
onSelectionChange={ onSelectionChange }
deferredRendering={ ! view.hiddenFields?.includes( 'preview' ) }
supportedLayouts={ SUPPORTED_LAYOUTS }
/>
</Page>
);
Expand Down

0 comments on commit 17efcaf

Please sign in to comment.