diff --git a/src/components/NavMenu.vue b/src/components/NavMenu.vue index 6ade418a..a9dab886 100644 --- a/src/components/NavMenu.vue +++ b/src/components/NavMenu.vue @@ -53,7 +53,7 @@ {{ t(entry.label) }} @@ -99,7 +99,7 @@ {{ t(entry.label) }} @@ -811,9 +811,9 @@ .notify-dot { position: absolute; top: 6px; - right: 2px; - width: 4px; - height: 4px; + right: 3px; + width: 5px; + height: 5px; background-color: #ef4444; border-radius: 50%; transform: translateY(-50%); diff --git a/src/components/ui/alert-dialog/AlertDialogModal.vue b/src/components/ui/alert-dialog/AlertDialogModal.vue index c6a46c8b..f5486468 100644 --- a/src/components/ui/alert-dialog/AlertDialogModal.vue +++ b/src/components/ui/alert-dialog/AlertDialogModal.vue @@ -48,9 +48,11 @@ @escapeKeyDown="onEscapeKeyDown" @pointerDownOutside="onPointerDownOutside" @interactOutside="onInteractOutside"> - + {{ alertTitle }} - {{ alertDescription }} + + {{ alertDescription }} + diff --git a/src/stores/notification.js b/src/stores/notification.js index 62e0c0d9..ee0188cc 100644 --- a/src/stores/notification.js +++ b/src/stores/notification.js @@ -75,7 +75,7 @@ export const useNotificationStore = defineStore('Notification', () => { const unseenNotifications = ref([]); const isNotificationsLoading = ref(false); - let notyMap = {}; + const notyMap = {}; watch( () => watchState.isLoggedIn, @@ -606,10 +606,7 @@ export const useNotificationStore = defineStore('Notification', () => { if (displayName) { // don't play noty twice const notyId = `${noty.type},${displayName}`; - if ( - notyMap[notyId] && - notyMap[notyId] >= noty.created_at - ) { + if (notyMap[notyId] && notyMap[notyId] >= noty.created_at) { return; } notyMap[notyId] = noty.created_at;