mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-28 12:35:02 +02:00
Browser notification (#2178)
Signed-off-by: Denis Bykhov <80476319+BykhovDenis@users.noreply.github.com>
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
import contact, { Employee, EmployeeAccount } from '@anticrm/contact'
|
||||
import core, { Class, Client, Doc, getCurrentAccount, Ref, Space } from '@anticrm/core'
|
||||
import notification, { NotificationStatus } from '@anticrm/notification'
|
||||
import { NotificationClientImpl } from '@anticrm/notification-resources'
|
||||
import { NotificationClientImpl, BrowserNotificatator } from '@anticrm/notification-resources'
|
||||
import { getMetadata, getResource, IntlString } from '@anticrm/platform'
|
||||
import { Avatar, createQuery, setClient } from '@anticrm/presentation'
|
||||
import {
|
||||
@@ -119,9 +119,6 @@
|
||||
},
|
||||
(res) => {
|
||||
hasNotification = res.length > 0
|
||||
},
|
||||
{
|
||||
limit: 1
|
||||
}
|
||||
)
|
||||
|
||||
@@ -517,6 +514,7 @@
|
||||
</svelte:fragment>
|
||||
</Popup>
|
||||
<DatePickerPopup />
|
||||
<BrowserNotificatator />
|
||||
{:else}
|
||||
<div class="flex-col-center justify-center h-full flex-grow">
|
||||
<h1><Label label={workbench.string.AccountDisabled} /></h1>
|
||||
|
||||
Reference in New Issue
Block a user