fix: Org Chart fixes (#27290) (#27305)

* fix(org chart): multiple root nodes not expanding on clicking Expand All

* fix: unstable filter inserts duplicate nodes

(cherry picked from commit f828d853e3)

Co-authored-by: Rucha Mahabal <ruchamahabal2@gmail.com>
This commit is contained in:
Frappe PR Bot
2021-09-01 23:53:23 +05:30
committed by GitHub
parent 9d0b5f1a0d
commit cf4ff46c1e
4 changed files with 25 additions and 17 deletions

View File

@@ -15,6 +15,8 @@ frappe.pages['organizational-chart'].on_page_load = function(wrapper) {
} else {
organizational_chart = new erpnext.HierarchyChart('Employee', wrapper, method);
}
frappe.breadcrumbs.add('HR');
organizational_chart.show();
});
});