Skip to content

Commit

Permalink
show notifications activity as active for notifications route
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedhamidawan committed Feb 19, 2024
1 parent a4e20f5 commit e5ee4a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/components/ActivityBar/ActivityBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ function onToggleSidebar(toggle: string, to: string | null = null) {
v-if="!isAnonymous && isConfigLoaded && config.enable_notification_system"
id="activity-notifications"
icon="bell"
:is-active="isActiveSideBar('notifications')"
:is-active="isActiveSideBar('notifications') || isActiveRoute('/user/notifications')"
title="Notifications"
@click="onToggleSidebar('notifications')" />
<ActivityItem
Expand Down

0 comments on commit e5ee4a2

Please sign in to comment.