Skip to content

Commit

Permalink
changes after review
Browse files Browse the repository at this point in the history
  • Loading branch information
dzonidoo committed Sep 12, 2024
1 parent 551ecd2 commit 9f691dd
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,10 @@ export function getInitialDestination(

export function getCurrentDeskDestination(id?: string): ISendToDestination {
const destinationDeskId: string = sdApi.desks.getCurrentDeskId();
const itemDeskId: string = sdApi.desks.getAllDesks().get(id)._id;

return {
type: 'desk',
desk: itemDeskId ?? destinationDeskId,
desk: id ?? destinationDeskId,
stage: null,
};
}

0 comments on commit 9f691dd

Please sign in to comment.