Skip to content

Commit

Permalink
Block Editor: Ensure that uncategorized block types are properly handled
Browse files Browse the repository at this point in the history
  • Loading branch information
gziolo committed Mar 23, 2021
1 parent b8bb4fb commit 0319395
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 0319395

Please sign in to comment.