This commit is contained in:
Henry Jameson 2021-03-08 21:03:55 +02:00
parent 395e12cbc6
commit 914b4eb593
3 changed files with 14 additions and 9 deletions

View file

@ -99,7 +99,7 @@ const SettingsModal = {
if (minor > PLEROMAFE_SETTINGS_MINOR_VERSION) {
this.$store.dispatch('pushGlobalNotice', {
level: 'warning',
messageKey: 'settings.file_export_import.errors.file_slightly_new',
messageKey: 'settings.file_export_import.errors.file_slightly_new'
})
}
@ -113,8 +113,7 @@ const SettingsModal = {
}
},
onImport (data) {
if (data)
this.$store.dispatch('loadSettings', data)
if (data) { this.$store.dispatch('loadSettings', data) }
},
restore () {
console.log(this.dataImporter)