fix: bom creator tree view not working (#24200)
This commit is contained in:
parent
eb1da4ad18
commit
c56c1cc2f7
1 changed files with 7 additions and 3 deletions
|
|
@ -200,9 +200,13 @@ frappe.views.TreeView = class TreeView {
|
|||
if (use_value == null) {
|
||||
use_value = use_label;
|
||||
}
|
||||
this.args["include_disabled"] = this.page.inner_toolbar
|
||||
.find("input[type='checkbox']")
|
||||
.prop("checked");
|
||||
|
||||
if (this.page?.inner_toolbar) {
|
||||
this.args["include_disabled"] = this.page.inner_toolbar
|
||||
.find("input[type='checkbox']")
|
||||
.prop("checked");
|
||||
}
|
||||
|
||||
this.tree = new frappe.ui.Tree({
|
||||
parent: this.body,
|
||||
label: use_label,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue