Skip to content

Commit

Permalink
Try: Fix missing save label. (#34948)
Browse files Browse the repository at this point in the history
* Try: Fix missing save label.

* Update snapshots.
  • Loading branch information
jasmussen authored Sep 23, 2021
1 parent 2b834d7 commit 0e71c81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions 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={ isLargeViewport ? undefined : label }
label={ label }
aria-disabled={ isDisabled }
>
{ isSavedState && <Icon icon={ isSaved ? check : cloud } /> }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ exports[`PostSavedState should return Save button if edits to be saved 1`] = `
<ForwardRef(Button)
aria-disabled={false}
className="editor-post-save-draft"
label="Save draft"
onClick={[Function]}
shortcut="Ctrl+S"
variant="tertiary"
Expand Down

0 comments on commit 0e71c81

Please sign in to comment.