Skip to content

Commit

Permalink
Avoid duplicate labels for "Save Draft" and "Save as pending" buttons (
Browse files Browse the repository at this point in the history
  • Loading branch information
Mamaduka authored Feb 15, 2022
1 parent 130fea8 commit 81e8e0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/editor/src/components/post-saved-state/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export default function PostSavedState( {
shortcut={ displayShortcut.primary( 's' ) }
variant={ isLargeViewport ? 'tertiary' : undefined }
icon={ isLargeViewport ? undefined : cloudUpload }
label={ label }
label={ showIconLabels ? undefined : label }
aria-disabled={ isDisabled }
>
{ isSavedState && <Icon icon={ isSaved ? check : cloud } /> }
Expand Down

0 comments on commit 81e8e0f

Please sign in to comment.