diff --git a/frontend/package.json b/frontend/package.json index bdf17bc9..1fe0477f 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -5,7 +5,7 @@ "scripts": { "serve": "vue-cli-service serve", "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", "watch": "find ./dist -maxdepth 1 -mindepth 1 ! -name '.gitignore' -exec rm -r {} + && vue-cli-service build --watch --no-clean" }, diff --git a/frontend/src/views/files/Preview.vue b/frontend/src/views/files/Preview.vue index 8c70ed8b..4e699dca 100644 --- a/frontend/src/views/files/Preview.vue +++ b/frontend/src/views/files/Preview.vue @@ -137,8 +137,8 @@ > chevron_right - - + + @@ -320,13 +320,13 @@ export default { return; } }, - prefetchUrl: function(item) { + prefetchUrl: function (item) { const key = Date.parse(item.modified); if (item.type === "image" && !this.fullSize) { return `${baseURL}/api/preview/big${item.path}?k=${key}&inline=true`; - } else if (item.type === "image"){ + } else if (item.type === "image") { return `${baseURL}/api/raw${item.path}?k=${key}&inline=true`; - } else{ + } else { return ""; } }, diff --git a/frontend/src/views/settings/Profile.vue b/frontend/src/views/settings/Profile.vue index 82f1b43b..0b8af637 100644 --- a/frontend/src/views/settings/Profile.vue +++ b/frontend/src/views/settings/Profile.vue @@ -17,7 +17,7 @@
- {{ $t("settings.setDateFormat") }} + {{ $t("settings.setDateFormat") }}