mirror of
https://github.com/mealie-recipes/mealie.git
synced 2026-04-10 23:15:34 -04:00
fix watchers
This commit is contained in:
@@ -33,7 +33,7 @@ const { newAnnouncements, allAnnouncements } = useAnnouncements();
|
||||
|
||||
const currentAnnouncement = shallowRef(newAnnouncements.value.at(0) || allAnnouncements.at(-1)!);
|
||||
watch(
|
||||
() => dialog,
|
||||
dialog,
|
||||
() => {
|
||||
// Once the dialog is opened, mark the current announcement as read
|
||||
if (dialog.value) {
|
||||
|
||||
Reference in New Issue
Block a user