mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 12:19:28 +00:00
prepend extend_app js to customJSModules array, use FhcApps in Dashboard/Fhc App
This commit is contained in:
@@ -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))
|
||||
|
||||
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user