mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 20:29:29 +00:00
passes the active_addons constant to the LvUebersicht Modal
This commit is contained in:
@@ -13,7 +13,7 @@ $this->load->view('templates/CISHTML-Header', $includesArray);
|
||||
<div id="content">
|
||||
<h2>Dashboard</h2>
|
||||
<hr>
|
||||
<fhc-dashboard dashboard="CIS"/>
|
||||
<fhc-dashboard active_addons="<?php echo ACTIVE_ADDONS ?>" dashboard="CIS"/>
|
||||
</div>
|
||||
|
||||
<?php $this->load->view('templates/CISHTML-Footer', $includesArray); ?>
|
||||
|
||||
@@ -14,13 +14,16 @@ export default {
|
||||
result: false,
|
||||
}
|
||||
},
|
||||
inject:["active_addons"],
|
||||
mixins:[BsModal],
|
||||
components:{
|
||||
BsModal,
|
||||
},
|
||||
mounted(){
|
||||
this.modal = this.$refs.modalContainer;
|
||||
|
||||
},
|
||||
|
||||
template:/*html*/`
|
||||
<bs-modal ref="modalContainer" dialogClass="modal-lg">
|
||||
<template #title>
|
||||
|
||||
@@ -8,8 +8,14 @@ export default {
|
||||
DashboardWidgetPicker
|
||||
},
|
||||
props: [
|
||||
"dashboard"
|
||||
"dashboard",
|
||||
"active_addons",
|
||||
],
|
||||
provide(){
|
||||
return{
|
||||
active_addons: this.active_addons,
|
||||
}
|
||||
},
|
||||
data: () => ({
|
||||
sections: [],
|
||||
widgets: null
|
||||
|
||||
Reference in New Issue
Block a user