fix: make bundled assets for hierarchy chart
This commit is contained in:
parent
f9afade7dc
commit
52cd007292
@ -6,7 +6,7 @@ frappe.pages['organizational-chart'].on_page_load = function(wrapper) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
$(wrapper).bind('show', () => {
|
$(wrapper).bind('show', () => {
|
||||||
frappe.require('/assets/js/hierarchy-chart.min.js', () => {
|
frappe.require('hierarchy-chart.bundle.js', () => {
|
||||||
let organizational_chart = undefined;
|
let organizational_chart = undefined;
|
||||||
let method = 'erpnext.hr.page.organizational_chart.organizational_chart.get_children';
|
let method = 'erpnext.hr.page.organizational_chart.organizational_chart.get_children';
|
||||||
|
|
||||||
|
|||||||
3
erpnext/public/js/hierarchy-chart.bundle.js
Normal file
3
erpnext/public/js/hierarchy-chart.bundle.js
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
import "./hierarchy_chart/hierarchy_chart_desktop.js";
|
||||||
|
import "./hierarchy_chart/hierarchy_chart_mobile.js";
|
||||||
|
import "./templates/node_card.html";
|
||||||
@ -1,3 +1,4 @@
|
|||||||
@import "./erpnext";
|
@import "./erpnext";
|
||||||
@import "./call_popup";
|
@import "./call_popup";
|
||||||
@import "./point-of-sale";
|
@import "./point-of-sale";
|
||||||
|
@import "./hierarchy_chart";
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user