lint
This commit is contained in:
parent
395e12cbc6
commit
914b4eb593
3 changed files with 14 additions and 9 deletions
|
@ -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)
|
||||
|
|
|
@ -31,8 +31,8 @@
|
|||
</transition>
|
||||
<button
|
||||
class="btn button-default"
|
||||
@click="peekModal"
|
||||
:title="$t('general.peek')"
|
||||
@click="peekModal"
|
||||
>
|
||||
<FAIcon
|
||||
:icon="['far', 'window-minimize']"
|
||||
|
@ -41,8 +41,8 @@
|
|||
</button>
|
||||
<button
|
||||
class="btn button-default"
|
||||
@click="closeModal"
|
||||
:title="$t('general.close')"
|
||||
@click="closeModal"
|
||||
>
|
||||
<FAIcon
|
||||
icon="times"
|
||||
|
@ -61,12 +61,12 @@
|
|||
:offset="{ y: 5, x: 5 }"
|
||||
:bound-to="{ x: 'container' }"
|
||||
remove-padding
|
||||
>
|
||||
>
|
||||
<button
|
||||
slot="trigger"
|
||||
class="btn button-default"
|
||||
:title="$t('general.close')"
|
||||
>
|
||||
>
|
||||
<span>{{ $t("settings.file_export_import.backup_restore") }}</span>
|
||||
<FAIcon
|
||||
icon="chevron-down"
|
||||
|
|
|
@ -79,10 +79,16 @@
|
|||
</label>
|
||||
</div>
|
||||
<div class="export-import">
|
||||
<button class="btn button-default" @click="importTheme">
|
||||
<button
|
||||
class="btn button-default"
|
||||
@click="importTheme"
|
||||
>
|
||||
{{ $t("settings.import_theme") }}
|
||||
</button>
|
||||
<button class="btn button-default" @click="exportTheme">
|
||||
<button
|
||||
class="btn button-default"
|
||||
@click="exportTheme"
|
||||
>
|
||||
{{ $t("settings.export_theme") }}
|
||||
</button>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue