mirror of
https://github.com/KevinMidboe/immich.git
synced 2025-10-29 17:40:28 +00:00
Implement notification box for web (#533)
* Added test button * styling notification box * Added auto dismission and animation to each notificaiont list * Remove test button
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
import { page } from '$app/stores';
|
||||
import { afterNavigate, beforeNavigate } from '$app/navigation';
|
||||
import NavigationLoadingBar from '$lib/components/shared-components/navigation-loading-bar.svelte';
|
||||
import NotificationList from '$lib/components/shared-components/notification/notification-list.svelte';
|
||||
|
||||
let shouldShowAnnouncement: boolean;
|
||||
let localVersion: string;
|
||||
@@ -44,7 +45,7 @@
|
||||
|
||||
<DownloadPanel />
|
||||
<UploadPanel />
|
||||
|
||||
<NotificationList />
|
||||
{#if shouldShowAnnouncement}
|
||||
<AnnouncementBox
|
||||
{localVersion}
|
||||
|
||||
Reference in New Issue
Block a user