prepend extend_app js to customJSModules array, use FhcApps in Dashboard/Fhc App

This commit is contained in:
Harald Bamberger
2026-02-26 15:53:41 +01:00
parent 1ae072390e
commit 4deed45f29
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -298,7 +298,7 @@ function extendableApps($includes)
if(is_readable(FHCPATH . $extend_js))
{
array_push($includes['customJSModules'], $extend_js);
array_unshift($includes['customJSModules'], $extend_js);
}
if(is_readable(FHCPATH . $extend_css))
+3
View File
@@ -321,6 +321,9 @@ const app = Vue.createApp({
// kind of a bandaid for bad css on some pages to avoid horizontal scroll
setScrollbarWidth();
FhcApps.router.makeExtendable(router);
FhcApps.makeExtendable(app);
app.use(router);
app.use(primevue.config.default, {
zIndex: {