Skip to content

Commit 5ad9faa

Browse files
gziolonoisysocks
authored andcommitted
Block Editor: Ensure that uncategorized block types are properly handled (#30125)
1 parent e3b2a90 commit 5ad9faa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/block-editor/src/components/inserter/block-types-tab.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export function BlockTypesTab( {
112112
);
113113
} ) }
114114

115-
{ ! uncategorizedItems.length && (
115+
{ uncategorizedItems.length > 0 && (
116116
<InserterPanel
117117
className="block-editor-inserter__uncategorized-blocks-panel"
118118
title={ __( 'Uncategorized' ) }

0 commit comments

Comments
 (0)