mirror of
https://github.com/hcengineering/platform.git
synced 2025-01-08 21:27:45 +03:00
4001 Reset notification client on workbench start
Signed-off-by: Alexander Onnikov <alexander.onnikov@xored.com>
This commit is contained in:
parent
9638843e4d
commit
2fef1c7420
@ -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