Ausweis, Ausstellung, Adresse

This commit is contained in:
Moritz Utcke
2025-04-08 18:49:29 -04:00
parent 07760aa26a
commit d354189d3c
19 changed files with 289 additions and 105 deletions

View File

@@ -28,6 +28,12 @@ export function updateNotification(uid: string, updater: Partial<Notification>)
value[uid] = { ...defaults, ...value[uid], ...updater } as Notification;
return value;
})
if (updater.timeout) {
setTimeout(() => {
deleteNotification(uid);
}, updater.timeout);
}
}
export function addNotification(notification: Partial<Notification>): string {