feat: Shopping list / Swipe to check off (#7118)

Co-authored-by: Michael Genson <genson.michael@gmail.com>
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Michael Genson <71845777+michael-genson@users.noreply.github.com>
This commit is contained in:
miah
2026-05-06 10:31:33 -05:00
committed by GitHub
parent f2b087730e
commit 09c2a0b2ad
5 changed files with 232 additions and 162 deletions

View File

@@ -4,7 +4,7 @@
v-model="toastAlert.open"
location="top"
:color="toastAlert.color"
timeout="2000"
:timeout="toastAlert.timeout ?? 2000"
>
<v-icon
v-if="icon"
@@ -19,9 +19,12 @@
<template #actions>
<v-btn
variant="text"
@click="toastAlert.open = false"
@click="() => {
toastAlert.action?.onClick();
toastAlert.open = false
}"
>
{{ $t('general.close') }}
{{ toastAlert.action?.message ?? $t('general.close') }}
</v-btn>
</template>
</v-snackbar>