From 0319395d1c66154bbee5920362debcbf2fd79e69 Mon Sep 17 00:00:00 2001 From: Grzegorz Ziolkowski Date: Tue, 23 Mar 2021 08:39:32 +0100 Subject: [PATCH] Block Editor: Ensure that uncategorized block types are properly handled --- .../block-editor/src/components/inserter/block-types-tab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/block-editor/src/components/inserter/block-types-tab.js b/packages/block-editor/src/components/inserter/block-types-tab.js index 886e9e3835a47..4f681b239a894 100644 --- a/packages/block-editor/src/components/inserter/block-types-tab.js +++ b/packages/block-editor/src/components/inserter/block-types-tab.js @@ -106,7 +106,7 @@ export function BlockTypesTab( { ); } ) } - { ! uncategorizedItems.length && ( + { uncategorizedItems.length > 0 && (