mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-22 21:50:34 +03:00
Merge pull request #2360 from hcengineering/bugfix/4001-notification-client
4001 Reset notification client on workbench start
This commit is contained in:
commit
508ecc6a44
@ -42,6 +42,10 @@ export class NotificationClientImpl implements NotificationClient {
|
||||
})
|
||||
}
|
||||
|
||||
static createClient (): void {
|
||||
NotificationClientImpl._instance = new NotificationClientImpl()
|
||||
}
|
||||
|
||||
static getClient (): NotificationClientImpl {
|
||||
if (NotificationClientImpl._instance === undefined) {
|
||||
NotificationClientImpl._instance = new NotificationClientImpl()
|
||||
|
@ -59,7 +59,7 @@
|
||||
let contentPanel: HTMLElement
|
||||
|
||||
setClient(client)
|
||||
NotificationClientImpl.getClient()
|
||||
NotificationClientImpl.createClient()
|
||||
|
||||
let currentAppAlias: string | undefined
|
||||
let currentSpace: Ref<Space> | undefined
|
||||
|
Loading…
Reference in New Issue
Block a user