From 8d386043aebd6151e0faae2fb96cc497a8313884 Mon Sep 17 00:00:00 2001 From: Eli Bosley Date: Tue, 14 Jan 2025 16:47:33 -0500 Subject: [PATCH] chore: comment to detail archived count --- web/components/Notifications/Sidebar.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/web/components/Notifications/Sidebar.vue b/web/components/Notifications/Sidebar.vue index 3a12a7f15..fb8ac3dba 100644 --- a/web/components/Notifications/Sidebar.vue +++ b/web/components/Notifications/Sidebar.vue @@ -42,6 +42,7 @@ const overview = computed(() => { return result.value.notifications.overview; }); +/** This recalculates the archived count due to notifications going to archived + unread when they are in an Unread state. */ const readArchivedCount = computed(() => { if (!overview.value) return 0; const { archive, unread } = overview.value;