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
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
import {
|
||||
ImmichNotification,
|
||||
notificationList,
|
||||
notificationController,
|
||||
NotificationType
|
||||
} from '$lib/components/shared-components/notification/notification';
|
||||
import { onMount } from 'svelte';
|
||||
|
|
@ -50,8 +50,8 @@
|
|||
|
||||
onMount(() => {
|
||||
setTimeout(() => {
|
||||
notificationList.removeNotificationById(notificationInfo.id);
|
||||
}, 2500);
|
||||
notificationController.removeNotificationById(notificationInfo.id);
|
||||
}, 3000);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
|
@ -66,5 +66,5 @@
|
|||
<h2 style:color={primaryColor()} class="font-medium">{notificationInfo.type.toString()}</h2>
|
||||
</div>
|
||||
|
||||
<p class="text-sm pl-[28px] pr-[16px]">{notificationInfo.message} {notificationInfo.id}</p>
|
||||
<p class="text-sm pl-[28px] pr-[16px]">{notificationInfo.message}</p>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue