From 70c230edcee856a9386f59e97ee136032e1bfae8 Mon Sep 17 00:00:00 2001 From: chfhtw Date: Thu, 9 Oct 2025 10:44:13 +0200 Subject: [PATCH] use fhcApps for LogsViewer/LogsViewer --- application/views/system/logs/logsViewer.php | 2 +- public/js/apps/LogsViewer/LogsViewer.js | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/application/views/system/logs/logsViewer.php b/application/views/system/logs/logsViewer.php index ddfe855fe..60d9075d0 100644 --- a/application/views/system/logs/logsViewer.php +++ b/application/views/system/logs/logsViewer.php @@ -13,7 +13,7 @@ 'global' => array('mailAnXversandt'), 'ui' => array('bitteEintragWaehlen') ), - 'customJSModules' => array('public/js/apps/LogsViewer/LogsViewer.js'), + 'fhcApps' => array('LogsViewer/LogsViewer'), ); $this->load->view('templates/FHC-Header', $includesArray); diff --git a/public/js/apps/LogsViewer/LogsViewer.js b/public/js/apps/LogsViewer/LogsViewer.js index eeb4b38a7..ad377a369 100644 --- a/public/js/apps/LogsViewer/LogsViewer.js +++ b/public/js/apps/LogsViewer/LogsViewer.js @@ -42,5 +42,7 @@ const logsViewerApp = Vue.createApp({ } }); +FhcApps.makeExtendable(logsViewerApp); + logsViewerApp.use(PluginsPhrasen).mount('#main');