diff --git a/packages/edit-post/src/components/sidebar/post-template/index.js b/packages/edit-post/src/components/sidebar/post-template/index.js index 46eb55c6ffa88f..87b905b5a434a3 100644 --- a/packages/edit-post/src/components/sidebar/post-template/index.js +++ b/packages/edit-post/src/components/sidebar/post-template/index.js @@ -27,7 +27,11 @@ export default function PostTemplate() { const hasTemplates = !! settings.availableTemplates && Object.keys( settings.availableTemplates ).length > 0; - if ( ! hasTemplates && ! settings.supportsTemplateMode ) { + if ( hasTemplates ) { + return true; + } + + if ( ! settings.supportsTemplateMode ) { return false; }