ci: fix frontend formatting

This commit is contained in:
Oleg Lobanov
2021-12-20 21:59:07 +01:00
parent 683b11d265
commit 2bebb5f0f8
3 changed files with 13 additions and 8 deletions

View File

@@ -17,7 +17,7 @@
</p>
<p>
<input type="checkbox" v-model="dateFormat" />
{{ $t("settings.setDateFormat") }}
{{ $t("settings.setDateFormat") }}
</p>
<h3>{{ $t("settings.language") }}</h3>
<languages
@@ -143,7 +143,12 @@ export default {
singleClick: this.singleClick,
dateFormat: this.dateFormat,
};
await api.update(data, ["locale", "hideDotfiles", "singleClick", "dateFormat"]);
await api.update(data, [
"locale",
"hideDotfiles",
"singleClick",
"dateFormat",
]);
this.updateUser(data);
this.$showSuccess(this.$t("settings.settingsUpdated"));
} catch (e) {