feat(frontend): Close notification slider over on click, fix types, delete dead code

This commit is contained in:
2025-10-04 08:17:22 +02:00
parent 03f3369cd7
commit 80592167c8
4 changed files with 14 additions and 13 deletions

View File

@@ -92,7 +92,7 @@ export const useNotification = () => {
const startPeriodicRefresh = (intervalMs: number = 30000) => {
const interval = setInterval(() => {
fetchUnreadCount()
void fetchUnreadCount()
}, intervalMs)
onUnmounted(() => {
@@ -103,10 +103,10 @@ export const useNotification = () => {
}
return {
notifications: readonly(notifications),
unreadNotifications: readonly(unreadNotifications),
unreadCount: readonly(unreadCount),
isLoading: readonly(isLoading),
notifications,
unreadNotifications,
unreadCount,
isLoading,
fetchNotifications,
fetchUnreadNotifications,
fetchUnreadCount,