fix: make bundled assets for hierarchy chart

This commit is contained in:
Rucha Mahabal 2021-08-10 20:13:28 +05:30
parent f9afade7dc
commit 52cd007292
3 changed files with 5 additions and 1 deletions

View File

@ -6,7 +6,7 @@ frappe.pages['organizational-chart'].on_page_load = function(wrapper) {
});
$(wrapper).bind('show', () => {
frappe.require('/assets/js/hierarchy-chart.min.js', () => {
frappe.require('hierarchy-chart.bundle.js', () => {
let organizational_chart = undefined;
let method = 'erpnext.hr.page.organizational_chart.organizational_chart.get_children';

View File

@ -0,0 +1,3 @@
import "./hierarchy_chart/hierarchy_chart_desktop.js";
import "./hierarchy_chart/hierarchy_chart_mobile.js";
import "./templates/node_card.html";

View File

@ -1,3 +1,4 @@
@import "./erpnext";
@import "./call_popup";
@import "./point-of-sale";
@import "./hierarchy_chart";