From a8d679788cc2c8a68a2a0b317c1d9514ef244929 Mon Sep 17 00:00:00 2001 From: Kristina Date: Mon, 11 Mar 2024 12:19:02 +0400 Subject: [PATCH] Fix chat opening after workspace change (#4919) Signed-off-by: Kristina Fefelova --- plugins/workbench-resources/src/components/Workbench.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/workbench-resources/src/components/Workbench.svelte b/plugins/workbench-resources/src/components/Workbench.svelte index c7cdc92145..43a3ff582a 100644 --- a/plugins/workbench-resources/src/components/Workbench.svelte +++ b/plugins/workbench-resources/src/components/Workbench.svelte @@ -150,7 +150,7 @@ ) const workspaceId = $location.path[1] - const inboxClient = InboxNotificationsClientImpl.getClient() + const inboxClient = InboxNotificationsClientImpl.createClient() const inboxNotificationsByContextStore = inboxClient.inboxNotificationsByContext let hasNotificationsFn: ((data: Map, InboxNotification[]>) => Promise) | undefined =