diff --git a/frontend/src/components/Layouts/AppSidebar.vue b/frontend/src/components/Layouts/AppSidebar.vue index 1c0a017a..ada04c1d 100644 --- a/frontend/src/components/Layouts/AppSidebar.vue +++ b/frontend/src/components/Layouts/AppSidebar.vue @@ -18,15 +18,12 @@ > @@ -112,7 +109,10 @@ import NotificationsIcon from '@/components/Icons/NotificationsIcon.vue' import SidebarLink from '@/components/SidebarLink.vue' import Notifications from '@/components/Notifications.vue' import { viewsStore } from '@/stores/views' -import { notificationsStore } from '@/stores/notifications' +import { + unreadNotificationsCount, + notificationsStore, +} from '@/stores/notifications' import { FeatherIcon } from 'frappe-ui' import { useStorage } from '@vueuse/core' import { computed, h } from 'vue' diff --git a/frontend/src/components/Mobile/MobileSidebar.vue b/frontend/src/components/Mobile/MobileSidebar.vue index bc06f5b6..93f44b59 100644 --- a/frontend/src/components/Mobile/MobileSidebar.vue +++ b/frontend/src/components/Mobile/MobileSidebar.vue @@ -25,8 +25,8 @@ > @@ -101,7 +101,7 @@ import PhoneIcon from '@/components/Icons/PhoneIcon.vue' import NotificationsIcon from '@/components/Icons/NotificationsIcon.vue' import SidebarLink from '@/components/SidebarLink.vue' import { viewsStore } from '@/stores/views' -import { notificationsStore } from '@/stores/notifications' +import { unreadNotificationsCount } from '@/stores/notifications' import { computed, h } from 'vue' import { mobileSidebarOpened as sidebarOpened } from '@/composables/settings' diff --git a/frontend/src/components/Notifications.vue b/frontend/src/components/Notifications.vue index 872e743b..de456cdc 100644 --- a/frontend/src/components/Notifications.vue +++ b/frontend/src/components/Notifications.vue @@ -1,6 +1,6 @@