Update PreferencesPage.vue

This commit is contained in:
Dragos 2022-09-06 14:19:20 +03:00 committed by GitHub
parent 5b9e0e90a4
commit fea12957b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -91,7 +91,12 @@
<p v-t="'info.preferences_note'" />
<button class="btn" v-t="'actions.reset_preferences'" @click="resetPreferences()" />
<button class="btn mx-4" v-t="'actions.backup_preferences'" @click="backupPreferences()" />
<label for="fileSelector" class="btn" v-t="'actions.restore_preferences'" @click="restorePreferences()" />
<label
for="fileSelector"
class="btn text-center"
v-t="'actions.restore_preferences'"
@click="restorePreferences()"
/>
<input class="hidden" id="fileSelector" ref="fileSelector" type="file" @change="restorePreferences()" />
<!-- options that are visible only when logged in -->