mirror of https://github.com/nextcloud/bookmarks
fix(WhatsnewModal): Only show for major or minor version bumps
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
parent
369660b8bd
commit
fdd4658ef2
|
@ -29,7 +29,7 @@ export default {
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
showModal() {
|
showModal() {
|
||||||
return this.$store.state.settings.hasSeenWhatsnew !== packageJson.version
|
return this.$store.state.settings.hasSeenWhatsnew.split('.').slice(0,2).join('.') !== packageJson.version.slice(0,2).join('.')
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
Loading…
Reference in New Issue