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';