From fd98147757da0b120e58dbd54b19b9b371db3f70 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Tue, 3 Dec 2024 14:59:11 +0100 Subject: [PATCH] Lint: Fix linter errors Signed-off-by: Knut Ahlers --- frontend-src/display.vue | 2 +- frontend-src/main.ts | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/frontend-src/display.vue b/frontend-src/display.vue index e057518..19b2975 100644 --- a/frontend-src/display.vue +++ b/frontend-src/display.vue @@ -129,7 +129,7 @@ export default defineComponent({ return { error: null, fileName: '', - fileType: null, + fileType: '', loading: true, path: '', text: '', diff --git a/frontend-src/main.ts b/frontend-src/main.ts index 9422a45..f3c41dc 100644 --- a/frontend-src/main.ts +++ b/frontend-src/main.ts @@ -9,22 +9,22 @@ import { createI18n } from 'vue-i18n' import ContentDisplay from './display.vue' const messages = { - en: { - fileNotFound: 'The requested file has not been found.', - genericError: 'Something went wrong (Status {status})', - loading: 'Loading file details...', - notPermitted: 'Access to this file was denied.', - }, de: { fileNotFound: 'Die angegebene Datei wurde nicht gefunden.', genericError: 'Irgendwas lief schief... (Status {status})', loading: 'Lade Datei-Informationen...', notPermitted: 'Der Zugriff auf diese Datei wurde verweigert.', }, + en: { + fileNotFound: 'The requested file has not been found.', + genericError: 'Something went wrong (Status {status})', + loading: 'Loading file details...', + notPermitted: 'Access to this file was denied.', + }, } const app = createApp({ - name: 'Share', + name: 'ShareApp', render() { return h(ContentDisplay) },