fix(webform): fallback values for sysdefaults (#5940)
This commit is contained in:
parent
0f95b2c964
commit
12ea6c03e9
1 changed files with 2 additions and 2 deletions
|
|
@ -193,8 +193,8 @@ window.web_form_settings = {
|
|||
}
|
||||
frappe.boot = {
|
||||
sysdefaults: {
|
||||
float_precision: {{ frappe.get_system_settings('float_precision') }},
|
||||
date_format: "{{ frappe.get_system_settings('date_format') }}",
|
||||
float_precision: {{ frappe.get_system_settings('float_precision') or 3 }},
|
||||
date_format: "{{ frappe.get_system_settings('date_format') or 'yyyy-mm-dd' }}",
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue