Skip to content

Commit

Permalink
make columns block appender behave like the group block appender
Browse files Browse the repository at this point in the history
  • Loading branch information
draganescu committed Nov 18, 2019
1 parent c84eba6 commit 0ba49ac
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/block-library/src/column/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,7 @@ function ColumnEdit( {
</InspectorControls>
<InnerBlocks
templateLock={ false }
renderAppender={ (
hasChildBlocks ?
undefined :
() => <InnerBlocks.ButtonBlockAppender />
) }
renderAppender={ ! hasChildBlocks && InnerBlocks.ButtonBlockAppender }
/>
</div>
);
Expand Down

0 comments on commit 0ba49ac

Please sign in to comment.