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) },