aboutsummaryrefslogtreecommitdiff
path: root/src/components/settings_modal/settings_modal.js
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2021-03-08 21:03:55 +0200
committerHenry Jameson <me@hjkos.com>2021-03-08 21:03:55 +0200
commit914b4eb5938f00284afff3c210dcafa94e48f510 (patch)
tree3f6177da6237744c1bcb14fbe4ea284da998c163 /src/components/settings_modal/settings_modal.js
parent395e12cbc6e22459508023daabba87b62a65050e (diff)
lint
Diffstat (limited to 'src/components/settings_modal/settings_modal.js')
-rw-r--r--src/components/settings_modal/settings_modal.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/components/settings_modal/settings_modal.js b/src/components/settings_modal/settings_modal.js
index f88184ca..7010e4aa 100644
--- a/src/components/settings_modal/settings_modal.js
+++ b/src/components/settings_modal/settings_modal.js
@@ -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)