fix(WhatsnewModal): Only show for major or minor version bumps

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
Marcel Klehr 2023-12-10 16:28:02 +01:00
parent 369660b8bd
commit fdd4658ef2
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ export default {
},
computed: {
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: {