ci: fix frontend formatting
parent
683b11d265
commit
2bebb5f0f8
|
@ -5,7 +5,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"serve": "vue-cli-service serve",
|
"serve": "vue-cli-service serve",
|
||||||
"build": "find ./dist -maxdepth 1 -mindepth 1 ! -name '.gitignore' -exec rm -r {} + && vue-cli-service build --no-clean",
|
"build": "find ./dist -maxdepth 1 -mindepth 1 ! -name '.gitignore' -exec rm -r {} + && vue-cli-service build --no-clean",
|
||||||
"lint": "npx vue-cli-service lint --no-fix",
|
"lint": "npx vue-cli-service lint --no-fix --max-warnings=0",
|
||||||
"fix": "npx vue-cli-service lint",
|
"fix": "npx vue-cli-service lint",
|
||||||
"watch": "find ./dist -maxdepth 1 -mindepth 1 ! -name '.gitignore' -exec rm -r {} + && vue-cli-service build --watch --no-clean"
|
"watch": "find ./dist -maxdepth 1 -mindepth 1 ! -name '.gitignore' -exec rm -r {} + && vue-cli-service build --watch --no-clean"
|
||||||
},
|
},
|
||||||
|
|
|
@ -137,8 +137,8 @@
|
||||||
>
|
>
|
||||||
<i class="material-icons">chevron_right</i>
|
<i class="material-icons">chevron_right</i>
|
||||||
</button>
|
</button>
|
||||||
<link rel="prefetch" :href="previousRaw">
|
<link rel="prefetch" :href="previousRaw" />
|
||||||
<link rel="prefetch" :href="nextRaw">
|
<link rel="prefetch" :href="nextRaw" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
|
@ -143,7 +143,12 @@ export default {
|
||||||
singleClick: this.singleClick,
|
singleClick: this.singleClick,
|
||||||
dateFormat: this.dateFormat,
|
dateFormat: this.dateFormat,
|
||||||
};
|
};
|
||||||
await api.update(data, ["locale", "hideDotfiles", "singleClick", "dateFormat"]);
|
await api.update(data, [
|
||||||
|
"locale",
|
||||||
|
"hideDotfiles",
|
||||||
|
"singleClick",
|
||||||
|
"dateFormat",
|
||||||
|
]);
|
||||||
this.updateUser(data);
|
this.updateUser(data);
|
||||||
this.$showSuccess(this.$t("settings.settingsUpdated"));
|
this.$showSuccess(this.$t("settings.settingsUpdated"));
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
|
Loading…
Reference in New Issue