TSK-678: Update First/Last names (#2652)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev
2023-02-18 01:13:07 +07:00
committed by GitHub
parent 199fb0f7f4
commit c24ae539fb
21 changed files with 128 additions and 194 deletions
+2 -2
View File
@@ -16,7 +16,7 @@
import { generateId } from '@hcengineering/core'
import type { Metadata } from '@hcengineering/platform'
import { setMetadata } from '@hcengineering/platform'
import { Notification, notificationsStore, NotificationPosition, NotificationSeverity } from '.'
import { Notification, NotificationPosition, NotificationSeverity, notificationsStore } from '.'
import { AnyComponent, AnySvelteComponent } from './types'
export function setMetadataLocalStorage<T> (id: Metadata<T>, value: T | null): void {
@@ -64,7 +64,7 @@ export function addNotification (
severity: NotificationSeverity.Success,
position: NotificationPosition.BottomRight,
component,
closeTimeout: 10000,
closeTimeout: parseInt(localStorage.getItem('#platform.notification.timeout') ?? '10000'),
params
}