proper links and fix user detection

This commit is contained in:
Henry Jameson 2022-08-08 02:14:09 +03:00
commit f63ee29fac
4 changed files with 16 additions and 12 deletions

View file

@ -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
}