aboutsummaryrefslogtreecommitdiff
path: root/src/components/update_notification
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/update_notification')
-rw-r--r--src/components/update_notification/update_notification.js4
-rw-r--r--src/components/update_notification/update_notification.vue2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/components/update_notification/update_notification.js b/src/components/update_notification/update_notification.js
index c389750d..06241688 100644
--- a/src/components/update_notification/update_notification.js
+++ b/src/components/update_notification/update_notification.js
@@ -41,7 +41,7 @@ const UpdateNotification = {
return !this.$store.state.instance.disableUpdateNotification &&
this.$store.state.users.currentUser &&
this.$store.state.serverSideStorage.flagStorage.updateCounter < CURRENT_UPDATE_COUNTER &&
- !this.$store.state.serverSideStorage.flagStorage.dontShowUpdateNotifs
+ !this.$store.state.serverSideStorage.prefsStorage.simple.dontShowUpdateNotifs
}
},
methods: {
@@ -51,7 +51,7 @@ const UpdateNotification = {
neverShowAgain () {
this.toggleShow()
this.$store.commit('setFlag', { flag: 'updateCounter', value: CURRENT_UPDATE_COUNTER })
- this.$store.commit('setFlag', { flag: 'dontShowUpdateNotifs', value: 1 })
+ this.$store.commit('setPreference', { path: 'simple.dontShowUpdateNotifs', value: true })
this.$store.dispatch('pushServerSideStorage')
},
dismiss () {
diff --git a/src/components/update_notification/update_notification.vue b/src/components/update_notification/update_notification.vue
index d0e2499c..00841af2 100644
--- a/src/components/update_notification/update_notification.vue
+++ b/src/components/update_notification/update_notification.vue
@@ -60,7 +60,7 @@
<template #linkToArtist>
<a
target="_blank"
- href="https://post.ebin.club/pipivovott"
+ href="https://post.ebin.club/users/pipivovott"
>pipivovott</a>
</template>
</i18n-t>