mirror of
https://github.com/immich-app/immich.git
synced 2025-11-26 12:39:44 +09:00
* fix(web): show warning on duplicate uploads #2557 * Prettier fix * color --------- Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
This commit is contained in:
@@ -3,10 +3,11 @@ import { writable } from 'svelte/store';
|
||||
export enum NotificationType {
|
||||
Info = 'Info',
|
||||
Error = 'Error',
|
||||
Warning = 'Warning',
|
||||
}
|
||||
|
||||
export class ImmichNotification {
|
||||
id = new Date().getTime();
|
||||
id = new Date().getTime() + Math.random();
|
||||
type!: NotificationType;
|
||||
message!: string;
|
||||
action!: NotificationAction;
|
||||
|
||||
Reference in New Issue
Block a user