diff --git a/editor/components/post-publish-button/index.js b/editor/components/post-publish-button/index.js index dd2c89ba7b4db2..4eddf78976d0eb 100644 --- a/editor/components/post-publish-button/index.js +++ b/editor/components/post-publish-button/index.js @@ -76,6 +76,7 @@ export default compose( [ isEditedPostSaveable, isEditedPostPublishable, getCurrentPostType, + isAutosavingPost, } = select( 'core/editor' ); return { isSaving: forceIsSaving || isSavingPost(), @@ -84,6 +85,7 @@ export default compose( [ isSaveable: isEditedPostSaveable(), isPublishable: forceIsDirty || isEditedPostPublishable(), postType: getCurrentPostType(), + isAutosaving: isAutosavingPost(), }; } ), withDispatch( ( dispatch ) => {