diff --git a/frontend/src/components/notifications/Notifications.vue b/frontend/src/components/notifications/Notifications.vue index 2ebef0083..e75ce9e9e 100644 --- a/frontend/src/components/notifications/Notifications.vue +++ b/frontend/src/components/notifications/Notifications.vue @@ -57,7 +57,7 @@ >
(null) const unreadNotifications = computed(() => { - return notifications.value.filter(n => n.readAt === null).length + return notifications.value.filter(n => n.read_at === null).length }) const notifications = computed(() => { return allNotifications.value ? allNotifications.value.filter(n => n.name !== '') : [] @@ -260,7 +260,7 @@ async function markAllRead() { await notificationService.markAllRead() success({message: t('notification.markAllReadSuccess')}) - notifications.value.forEach(n => n.readAt = new Date()) + notifications.value.forEach(n => n.read_at = new Date()) } async function clearAll() {