mirror of
https://github.com/mealie-recipes/mealie.git
synced 2026-05-08 19:13:32 -04:00
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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user