diff --git a/src/lib/components/bottomModalAlert.svelte b/src/lib/components/bottomModalAlert.svelte index e376b006e..933fa6d02 100644 --- a/src/lib/components/bottomModalAlert.svelte +++ b/src/lib/components/bottomModalAlert.svelte @@ -3,9 +3,10 @@ import { Button } from '$lib/elements/forms/index'; import { hideNotification, shouldShowNotification } from '$lib/helpers/notifications'; import { app } from '$lib/stores/app'; - import { type BottomModalAlertItem, bottomModalAlerts, dismissBottomModalAlert } from '$lib/stores/bottom-alerts'; + import { type BottomModalAlertItem, bottomModalAlerts, dismissBottomModalAlert, hideAllModalAlerts } from '$lib/stores/bottom-alerts'; let currentIndex = 0; + let openModalOnMobile = false; $: filteredModalAlerts = $bottomModalAlerts .sort((a, b) => b.importance - a.importance) @@ -35,7 +36,7 @@ {#if filteredModalAlerts.length > 0 && currentModalAlert} -