mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
Added limit on total of file upload on web
This commit is contained in:
parent
87f7b0849a
commit
a128833e68
5 changed files with 31 additions and 14 deletions
|
|
@ -1,19 +1,25 @@
|
|||
<script lang="ts">
|
||||
import { notificationList } from './notification';
|
||||
import { ImmichNotification, notificationController } from './notification';
|
||||
import { fade } from 'svelte/transition';
|
||||
|
||||
import NotificationCard from './notification-card.svelte';
|
||||
import { flip } from 'svelte/animate';
|
||||
import { quintOut } from 'svelte/easing';
|
||||
|
||||
let notificationList: ImmichNotification[] = [];
|
||||
|
||||
notificationController.notificationList.subscribe((list) => {
|
||||
notificationList = list;
|
||||
});
|
||||
</script>
|
||||
|
||||
{#if $notificationList?.length > 0}
|
||||
{#if notificationList.length > 0}
|
||||
<section
|
||||
transition:fade={{ duration: 250 }}
|
||||
id="notification-list"
|
||||
class="absolute right-5 top-[80px] z-[99999999]"
|
||||
>
|
||||
{#each $notificationList as notificationInfo (notificationInfo.id)}
|
||||
{#each notificationList as notificationInfo (notificationInfo.id)}
|
||||
<div animate:flip={{ duration: 250, easing: quintOut }}>
|
||||
<NotificationCard {notificationInfo} />
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue