Skip to content

Commit

Permalink
Fixes import path and adds activity bar ID to NotificationItem
Browse files Browse the repository at this point in the history
Corrects the import path for ActivityItem component
Adds activity-bar-id required prop to NotificationItem
  • Loading branch information
itisAliRH committed Nov 15, 2024
1 parent 9a22b0e commit 7f3b3f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/src/components/ActivityBar/Items/NotificationItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { computed } from "vue";
import { useNotificationsStore } from "@/stores/notificationsStore";
import ActivityItem from "components/ActivityBar/ActivityItem.vue";
import ActivityItem from "@/components/ActivityBar/ActivityItem.vue";
const { totalUnreadCount } = storeToRefs(useNotificationsStore());
Expand All @@ -31,6 +31,7 @@ const tooltip = computed(() =>
<template>
<ActivityItem
:id="id"
:activity-bar-id="'notifications'"
:icon="icon"
:indicator="totalUnreadCount"
:is-active="isActive"
Expand Down

0 comments on commit 7f3b3f6

Please sign in to comment.