Skip to content

Commit

Permalink
Block Editor: Ensure that uncategorized block types are properly hand…
Browse files Browse the repository at this point in the history
…led (#30125)
  • Loading branch information
gziolo authored Mar 23, 2021
1 parent 65b495e commit 021864d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export function BlockTypesTab( {
);
} ) }

{ ! uncategorizedItems.length && (
{ uncategorizedItems.length > 0 && (
<InserterPanel
className="block-editor-inserter__uncategorized-blocks-panel"
title={ __( 'Uncategorized' ) }
Expand Down

0 comments on commit 021864d

Please sign in to comment.