Skip to content

Commit

Permalink
chore: code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
RitvikSardana committed Nov 5, 2024
1 parent 3e7bbd8 commit 3ae3cd3
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions desk/src/components/layouts/Sidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
</SidebarLink>
<div class="mb-4" v-if="!isCustomerPortal">
<div
v-if="!notificationStore.unread"
v-if="notificationStore.unread"
class="absolute z-20 h-1.5 w-1.5 translate-x-6 translate-y-1 rounded-full bg-blue-400 left-1"
theme="gray"
variant="solid"
Expand All @@ -37,7 +37,12 @@
:is-expanded="isExpanded"
>
<template #right>
<Badge label="20" theme="gray" variant="subtle" />
<Badge
v-if="isExpanded && notificationStore.unread"
:label="notificationStore.unread"
theme="gray"
variant="subtle"
/>
</template>
</SidebarLink>
</div>
Expand Down

0 comments on commit 3ae3cd3

Please sign in to comment.