From 69b4dbbcc22cda91ebc5f93c665352bbfafcaada Mon Sep 17 00:00:00 2001 From: kolaente Date: Mon, 21 Sep 2026 19:21:47 +0200 Subject: [PATCH] refactor(notifications): rename read timestamp (mechanical) Script: replace 'n.readAt' with 'n.read_at' in frontend/src/components/notifications/Notifications.vue. --- frontend/src/components/notifications/Notifications.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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() {