Skip to content

Commit

Permalink
[Block Settings]: Show move to on nested blocks when only one root …
Browse files Browse the repository at this point in the history
…block
  • Loading branch information
ntsekouras committed Oct 10, 2022
1 parent 147c815 commit d071108
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export function BlockSettingsDropdown( {
return {
firstParentClientId: _firstParentClientId,
hasReducedUI: getSettings().hasReducedUI,
onlyBlock: 1 === getBlockCount(),
onlyBlock: 1 === getBlockCount( _firstParentClientId ),
parentBlockType:
getActiveBlockVariation(
parentBlockName,
Expand Down

0 comments on commit d071108

Please sign in to comment.