From e999fb1f0ab7a8281fe5bc55656bc9f53d05d18f Mon Sep 17 00:00:00 2001 From: dzonidoo Date: Thu, 9 Nov 2023 18:26:59 +0100 Subject: [PATCH] publish tab fix --- .../authoring/authoring/directives/AuthoringTopbarDirective.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/apps/authoring/authoring/directives/AuthoringTopbarDirective.ts b/scripts/apps/authoring/authoring/directives/AuthoringTopbarDirective.ts index 28ba1aa96a..6d8a76fc95 100644 --- a/scripts/apps/authoring/authoring/directives/AuthoringTopbarDirective.ts +++ b/scripts/apps/authoring/authoring/directives/AuthoringTopbarDirective.ts @@ -48,7 +48,7 @@ export function AuthoringTopbarDirective( dispatchInternalEvent('interactiveArticleActionStart', { items: [scope.item], tabs: ['send_to', 'publish'], - activeTab: 'publish', + activeTab: scope.item.flags.marked_for_not_publication ? 'send_to' : 'publish', }); };