mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-23 16:56:07 +00: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 {
|
static getClient (): NotificationClientImpl {
|
||||||
if (NotificationClientImpl._instance === undefined) {
|
if (NotificationClientImpl._instance === undefined) {
|
||||||
NotificationClientImpl._instance = new NotificationClientImpl()
|
NotificationClientImpl._instance = new NotificationClientImpl()
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
let contentPanel: HTMLElement
|
let contentPanel: HTMLElement
|
||||||
|
|
||||||
setClient(client)
|
setClient(client)
|
||||||
NotificationClientImpl.getClient()
|
NotificationClientImpl.createClient()
|
||||||
|
|
||||||
let currentAppAlias: string | undefined
|
let currentAppAlias: string | undefined
|
||||||
let currentSpace: Ref<Space> | undefined
|
let currentSpace: Ref<Space> | undefined
|
||||||
|
Loading…
Reference in New Issue
Block a user