fix: use correct sysdefault key for link field clear button
This commit is contained in:
parent
5a8156aaee
commit
8cfa6a2c95
1 changed files with 1 additions and 1 deletions
|
|
@ -82,7 +82,7 @@ frappe.ui.form.ControlLink = class ControlLink extends frappe.ui.form.ControlDat
|
||||||
}
|
}
|
||||||
|
|
||||||
is_clear_button_enabled() {
|
is_clear_button_enabled() {
|
||||||
return cint(frappe.boot?.sysdefaults?.show_clear_button_in_link_field);
|
return cint(frappe.boot?.sysdefaults?.allow_clearing_link_fields);
|
||||||
}
|
}
|
||||||
|
|
||||||
hide_link_and_clear_buttons() {
|
hide_link_and_clear_buttons() {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue