aboutsummaryrefslogtreecommitdiff
path: root/src/components/extra_notifications/extra_notifications.js
diff options
context:
space:
mode:
authortusooa <tusooa@kazv.moe>2023-08-18 20:39:14 -0400
committertusooa <tusooa@kazv.moe>2023-08-18 22:25:32 -0400
commit1c180ace0b12ff85cb6cfe34bfc022b0f82b1c85 (patch)
treef5ee11dda0fa68f1b7331b961e1292f63d164c9e /src/components/extra_notifications/extra_notifications.js
parent7f51ea369eb4ae1252fcba9a82438fd00471e874 (diff)
Fix router links to use route objects
Diffstat (limited to 'src/components/extra_notifications/extra_notifications.js')
-rw-r--r--src/components/extra_notifications/extra_notifications.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/extra_notifications/extra_notifications.js b/src/components/extra_notifications/extra_notifications.js
index cd687eaf..01df12a3 100644
--- a/src/components/extra_notifications/extra_notifications.js
+++ b/src/components/extra_notifications/extra_notifications.js
@@ -17,6 +17,9 @@ const ExtraNotifications = {
shouldShowCustomizationTip () {
return this.mergedConfig.showExtraNotificationsTip && this.hasAnythingToShow
},
+ currentUser () {
+ return this.$store.state.users.currentUser
+ },
...mapGetters(['unreadChatCount', 'unreadAnnouncementCount', 'followRequestCount', 'mergedConfig'])
},
methods: {