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

@@ -59,8 +59,6 @@ erpnext.HierarchyChartMobile = class {
}
show() {
frappe.breadcrumbs.add('HR');
let me = this;
if ($(`[data-fieldname="company"]`).length) return;