From 384f3491aab2c3becea5c64058fa61ea0276f2a1 Mon Sep 17 00:00:00 2001 From: dzonidoo Date: Fri, 10 Nov 2023 13:29:40 +0100 Subject: [PATCH] changes after review --- .../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 6d8a76fc95..87470ee508 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: scope.item.flags.marked_for_not_publication ? 'send_to' : 'publish', + activeTab: scope.item.flags?.marked_for_not_publication ? 'send_to' : 'publish', }); };