aboutsummaryrefslogtreecommitdiff
path: root/src/components/update_notification/update_notification.js
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2022-08-08 02:14:09 +0300
committerHenry Jameson <me@hjkos.com>2022-08-08 02:14:09 +0300
commitf63ee29fac87489b754890a73f676bb143fb3b63 (patch)
tree9df78fa6152c115685c0590e90f005d03dbf74bf /src/components/update_notification/update_notification.js
parentfcf62a13ed49359b6bc2e82e8d05f55bfe914803 (diff)
proper links and fix user detection
Diffstat (limited to 'src/components/update_notification/update_notification.js')
-rw-r--r--src/components/update_notification/update_notification.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/update_notification/update_notification.js b/src/components/update_notification/update_notification.js
index 83fbf922..399b8d46 100644
--- a/src/components/update_notification/update_notification.js
+++ b/src/components/update_notification/update_notification.js
@@ -31,7 +31,7 @@ const UpdateNotification = {
},
shouldShow () {
return !this.$store.state.instance.disableUpdateNotification &&
- this.$store.state.currentUser &&
+ this.$store.state.users.currentUser &&
this.$store.state.serverSideStorage.flagStorage.updateCounter < CURRENT_UPDATE_COUNTER &&
!this.$store.state.serverSideStorage.flagStorage.dontShowUpdateNotifs
}