Skip to content

Commit

Permalink
Prevent rendering of settings button until it has an action (#16000)
Browse files Browse the repository at this point in the history
  • Loading branch information
pinarol committed Jun 5, 2019
1 parent 705497b commit 7e3b2ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/block-library/src/video/edit.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,11 +180,11 @@ class VideoEdit extends React.Component {
{ toolbarEditButton }
</BlockControls>
<InspectorControls>
<ToolbarButton
{ false && <ToolbarButton //Not rendering settings button until it has an action
label={ __( 'Video Settings' ) }
icon="admin-generic"
onClick={ () => ( null ) }
/>
/> }
</InspectorControls>
<MediaUploadProgress
mediaId={ id }
Expand Down

0 comments on commit 7e3b2ab

Please sign in to comment.