From 5ad3510af61649b33fa593b65c29684bee9cc4c2 Mon Sep 17 00:00:00 2001 From: Harald Bamberger Date: Tue, 5 Mar 2024 16:47:29 +0100 Subject: [PATCH] add use of phrasen plugin to apps --- public/js/apps/Bismeldestichtag/Bismeldestichtag.js | 4 +++- public/js/apps/LogsViewer/LogsViewer.js | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/public/js/apps/Bismeldestichtag/Bismeldestichtag.js b/public/js/apps/Bismeldestichtag/Bismeldestichtag.js index 79b73a2e5..04275d76a 100644 --- a/public/js/apps/Bismeldestichtag/Bismeldestichtag.js +++ b/public/js/apps/Bismeldestichtag/Bismeldestichtag.js @@ -24,6 +24,8 @@ import {CoreRESTClient} from '../../RESTClient.js'; import {CoreFetchCmpt} from '../../components/Fetch.js'; import {BismeldestichtagAPIs} from './API.js'; +import Phrasen from '../../plugin/Phrasen.js'; + const bismeldestichtagApp = Vue.createApp({ data: function() { return { @@ -187,4 +189,4 @@ const bismeldestichtagApp = Vue.createApp({ } }); -bismeldestichtagApp.mount('#main'); +bismeldestichtagApp.use(Phrasen).mount('#main'); diff --git a/public/js/apps/LogsViewer/LogsViewer.js b/public/js/apps/LogsViewer/LogsViewer.js index 84798c3e1..8aefa1d67 100644 --- a/public/js/apps/LogsViewer/LogsViewer.js +++ b/public/js/apps/LogsViewer/LogsViewer.js @@ -21,6 +21,8 @@ import {LogsViewerTabulatorEventHandlers} from './TabulatorSetup.js'; import {CoreFilterCmpt} from '../../components/filter/Filter.js'; import {CoreNavigationCmpt} from '../../components/navigation/Navigation.js'; +import Phrasen from '../../plugin/Phrasen.js'; + const logsViewerApp = Vue.createApp({ data: function() { return { @@ -40,5 +42,5 @@ const logsViewerApp = Vue.createApp({ } }); -logsViewerApp.mount('#main'); +logsViewerApp.use(Phrasen).mount('#main');