client: fix lint "quotes"
Some checks failed
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-client Pipeline failed
ci/woodpecker/push/test Pipeline failed

This commit is contained in:
Johann150 2022-08-03 22:48:13 +02:00
parent 585e4f5c42
commit 4fbe2e065e
Signed by: Johann150
GPG key ID: 9EE6577A2A06F8F1
4 changed files with 5 additions and 5 deletions

View file

@ -88,11 +88,11 @@ export default defineComponent({
}, },
async describe(file) { async describe(file) {
os.popup(defineAsyncComponent(() => import("@/components/media-caption.vue")), { os.popup(defineAsyncComponent(() => import('@/components/media-caption.vue')), {
title: this.$ts.describeFile, title: this.$ts.describeFile,
input: { input: {
placeholder: this.$ts.inputNewDescription, placeholder: this.$ts.inputNewDescription,
default: file.comment !== null ? file.comment : "", default: file.comment !== null ? file.comment : '',
}, },
image: file image: file
}, { }, {

View file

@ -79,7 +79,7 @@ export default defineComponent({
const headerHeight = this.showHeader ? this.$refs.header.offsetHeight : 0; const headerHeight = this.showHeader ? this.$refs.header.offsetHeight : 0;
this.$el.style.minHeight = `${headerHeight}px`; this.$el.style.minHeight = `${headerHeight}px`;
if (showBody) { if (showBody) {
this.$el.style.flexBasis = `auto`; this.$el.style.flexBasis = 'auto';
} else { } else {
this.$el.style.flexBasis = `${headerHeight}px`; this.$el.style.flexBasis = `${headerHeight}px`;
} }

View file

@ -6,7 +6,7 @@ import { lang } from '@/config';
export async function initializeSw() { export async function initializeSw() {
if (!('serviceWorker' in navigator)) return; if (!('serviceWorker' in navigator)) return;
navigator.serviceWorker.register(`/sw.js`, { scope: '/', type: 'classic' }); navigator.serviceWorker.register('/sw.js', { scope: '/', type: 'classic' });
navigator.serviceWorker.ready.then(registration => { navigator.serviceWorker.ready.then(registration => {
registration.active?.postMessage({ registration.active?.postMessage({
msg: 'initialize', msg: 'initialize',

View file

@ -109,7 +109,7 @@ export function physics(container: HTMLElement) {
render.mouse = mouse; render.mouse = mouse;
for (const objEl of objEls) { for (const objEl of objEls) {
objEl.style.position = `absolute`; objEl.style.position = 'absolute';
objEl.style.top = 0; objEl.style.top = 0;
objEl.style.left = 0; objEl.style.left = 0;
objEl.style.margin = 0; objEl.style.margin = 0;