Skip to content

Commit

Permalink
Disable button even if they are non-post entity changes -- they might…
Browse files Browse the repository at this point in the history
… not have been saved yet
  • Loading branch information
ockham committed Jun 23, 2021
1 parent 69aa8de commit d7df47b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ export class PostPublishButton extends Component {
};

const buttonProps = {
'aria-disabled': isButtonDisabled && ! hasNonPostEntityChanges,
'aria-disabled': isButtonDisabled,
className: 'editor-post-publish-button',
isBusy: ! isAutoSaving && isSaving && isPublished,
variant: 'primary',
Expand Down

0 comments on commit d7df47b

Please sign in to comment.