diff --git a/src/components/update_notification/update_notification.js b/src/components/update_notification/update_notification.js index 83fbf9229e..399b8d4637 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 } diff --git a/src/components/update_notification/update_notification.scss b/src/components/update_notification/update_notification.scss index c55bb1925c..43a82f1622 100644 --- a/src/components/update_notification/update_notification.scss +++ b/src/components/update_notification/update_notification.scss @@ -69,6 +69,7 @@ position: relative; shape-margin: 0.5em; filter: drop-shadow(5px 5px 10px rgba(0,0,0,0.5)); + pointer-events: none; } .spacer-top { diff --git a/src/components/update_notification/update_notification.vue b/src/components/update_notification/update_notification.vue index 8cae3de9c4..75ac742c0f 100644 --- a/src/components/update_notification/update_notification.vue +++ b/src/components/update_notification/update_notification.vue @@ -1,6 +1,5 @@