From 7cc6b748f8b6c6396dbfd84f6368b6692106ca99 Mon Sep 17 00:00:00 2001 From: thecalcc Date: Mon, 6 Nov 2023 15:51:33 +0200 Subject: [PATCH] Fix CI --- client/planning-extension/src/extension.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/planning-extension/src/extension.ts b/client/planning-extension/src/extension.ts index 414b13ebe..c03e40944 100644 --- a/client/planning-extension/src/extension.ts +++ b/client/planning-extension/src/extension.ts @@ -127,7 +127,8 @@ const extension: IExtension = { !superdesk.entities.article.isLockedInOtherSession(item) && !['killed', 'recalled', 'unpublished', 'spiked', 'correction'].includes(item.state) ) { - const event = new CustomEvent("planning:fulfilassignment", {detail: item}); + const event = new CustomEvent('planning:fulfilassignment', {detail: item}); + window.dispatchEvent(event); } },