From f63ee29fac87489b754890a73f676bb143fb3b63 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Mon, 8 Aug 2022 02:14:09 +0300 Subject: proper links and fix user detection --- src/components/update_notification/update_notification.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/components/update_notification/update_notification.js') 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 } -- cgit v1.2.3-70-g09d2