diff --git a/dashboard/src/components/Headerbar.vue b/dashboard/src/components/Headerbar.vue index 92fe2b58b..8232348cd 100644 --- a/dashboard/src/components/Headerbar.vue +++ b/dashboard/src/components/Headerbar.vue @@ -29,7 +29,7 @@ async function onMarkNotificationRead(notification) { async function onMarkAllNotificationRead() { notificationsAllBusy.value = true; - await eachLimit(notifications.value.slice(4), 2, async (notification) => { + await eachLimit(notifications.value, 2, async (notification) => { notification.busy = true; const [error] = await notificationModel.update(notification.id, true); if (error) return console.error(error);