helpPopover is not notificationPopover

This commit is contained in:
Johannes Zellner
2025-11-06 12:30:16 +01:00
parent f24e4f291d
commit 9bb71bd066
+4 -1
View File
@@ -44,6 +44,9 @@ async function onMarkNotificationRead(notification) {
if (error) return console.error(error);
await refresh();
// close after 2 seconds if there is nothing to show
if (notifications.value.length === 0) setTimeout(notificationPopover.value.close, 2000);
}
async function onMarkAllNotificationRead() {
@@ -59,7 +62,7 @@ async function onMarkAllNotificationRead() {
notificationsAllBusy.value = false;
if (notifications.value.length === 0) setTimeout(helpPopover.value.close, 2000);
if (notifications.value.length === 0) setTimeout(notificationPopover.value.close, 2000);
}
async function refresh() {