Skip to content

Commit

Permalink
Show inspector also if gallery has 1 image.
Browse files Browse the repository at this point in the history
  • Loading branch information
Soean authored and youknowriad committed Nov 3, 2017
1 parent 6cf07d5 commit 06030ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/library/gallery/block.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ class GalleryBlock extends Component {

return [
controls,
focus && images.length > 1 && (
focus && (
<InspectorControls key="inspector">
{blockDescription}
<h3>{ __( 'Gallery Settings' ) }</h3>
Expand Down

0 comments on commit 06030ba

Please sign in to comment.