diff options
| author | Henry Jameson <me@hjkos.com> | 2022-08-04 02:12:04 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2022-08-04 02:12:04 +0300 |
| commit | 8b56db177bd2b1c7356d4e27cd5611a9cb6d7510 (patch) | |
| tree | 48e1981b3722f2a175b5238aab5466ce4f53deca /src/components/update_notification/update_notification.js | |
| parent | dbfca224d812c2ba80a48852ba047bb65c4c6dd9 (diff) | |
debug handlers for now
Diffstat (limited to 'src/components/update_notification/update_notification.js')
| -rw-r--r-- | src/components/update_notification/update_notification.js | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/components/update_notification/update_notification.js b/src/components/update_notification/update_notification.js index 1dd771eb..da3e1876 100644 --- a/src/components/update_notification/update_notification.js +++ b/src/components/update_notification/update_notification.js @@ -16,7 +16,7 @@ const UpdateNotification = { data () { return { pleromaTanVariant: Math.random() > 0.5 ? pleromaTan : pleromaTanFox, - showingMore: true, + showingMore: false, contentHeight: 0 } }, @@ -39,13 +39,14 @@ const UpdateNotification = { this.showingMore = !this.showingMore }, neverShowAgain () { - this.$store.commit('setFlag', { flag: 'updateCounter', value: CURRENT_UPDATE_COUNTER }) - this.$store.commit('setFlag', { flag: 'dontShowUpdateNotifs', value: 1 }) - this.$store.dispatch('pushServerSideStorage') + this.toggleShow() + // this.$store.commit('setFlag', { flag: 'updateCounter', value: CURRENT_UPDATE_COUNTER }) + // this.$store.commit('setFlag', { flag: 'dontShowUpdateNotifs', value: 1 }) + // this.$store.dispatch('pushServerSideStorage') }, dismiss () { this.$store.commit('setFlag', { flag: 'updateCounter', value: CURRENT_UPDATE_COUNTER }) - this.$store.dispatch('pushServerSideStorage') + // this.$store.dispatch('pushServerSideStorage') } }, mounted () { |
