Skip to content

Commit

Permalink
Add control isPublish
Browse files Browse the repository at this point in the history
  • Loading branch information
octaedro committed Feb 21, 2024
1 parent 8f6d1d9 commit 014c701
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -83,7 +83,7 @@ export function Header( {
! isResolving &&
showPrepublishChecks &&
window.wcAdminFeatures[ 'product-pre-publish-modal' ],
[ showPrepublishChecks, isResolving ]
[ showPrepublishChecks, isPublished, isResolving ]
);

const sidebarWidth = useAdminSidebarWidth();
Expand Down

0 comments on commit 014c701

Please sign in to comment.