From 4920422272275b741e65aee8797720d07824ee6a Mon Sep 17 00:00:00 2001 From: dzonidoo Date: Thu, 12 Sep 2024 17:27:04 +0200 Subject: [PATCH] changes after review part II --- .../utils/get-initial-destination.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/core/interactive-article-actions-panel/utils/get-initial-destination.ts b/scripts/core/interactive-article-actions-panel/utils/get-initial-destination.ts index 3df2975abd..da38803820 100644 --- a/scripts/core/interactive-article-actions-panel/utils/get-initial-destination.ts +++ b/scripts/core/interactive-article-actions-panel/utils/get-initial-destination.ts @@ -86,11 +86,9 @@ export function getInitialDestination( } export function getCurrentDeskDestination(id?: string): ISendToDestination { - const destinationDeskId: string = sdApi.desks.getCurrentDeskId(); - return { type: 'desk', - desk: id ?? destinationDeskId, + desk: id ?? sdApi.desks.getCurrentDeskId(), stage: null, }; }