Fix chat opening after workspace change (#4919)

Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
Kristina
2024-03-11 15:19:02 +07:00
committed by GitHub
parent ee35054338
commit a8d679788c
@@ -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<Ref<DocNotifyContext>, InboxNotification[]>) => Promise<boolean>) | undefined =