Skip to content

Commit

Permalink
Fix: Global Styles: Impossible to open welcome guide if global styles…
Browse files Browse the repository at this point in the history
… are empty. (#40888)
  • Loading branch information
jorgefilipecosta committed May 6, 2022
1 parent 842835f commit a7bd3be
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ export default function GlobalStylesSidebar() {
<DropdownMenu
icon={ moreVertical }
label={ __( 'More Global Styles Actions' ) }
toggleProps={ { disabled: ! canReset } }
controls={ [
{
title: __( 'Reset to defaults' ),
onClick: onReset,
isDisabled: ! canReset,
},
{
title: __( 'Welcome Guide' ),
Expand Down

0 comments on commit a7bd3be

Please sign in to comment.