Skip to content

Commit

Permalink
Remove: Child blocks from block manager
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgefilipecosta committed Aug 22, 2019
1 parent ab70dc2 commit 3e49159
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -30,7 +30,8 @@ function BlockManager( {
// value reference on each call.
blockTypes = blockTypes.filter( ( blockType ) => (
hasBlockSupport( blockType, 'inserter', true ) &&
( ! search || isMatchingSearchTerm( blockType, search ) )
( ! search || isMatchingSearchTerm( blockType, search ) ) &&
! blockType.parent
) );

return (
Expand Down

0 comments on commit 3e49159

Please sign in to comment.