style: use const instead of let
This commit is contained in:
parent
9a88acfce4
commit
1ed4b2d30e
1 changed files with 1 additions and 1 deletions
|
|
@ -251,7 +251,7 @@ frappe.ui.form.on("Customize Form", {
|
|||
// can't delete standard fields
|
||||
frappe.ui.form.on("Customize Form Field", {
|
||||
before_fields_remove: function (frm, doctype, name) {
|
||||
let row = frappe.get_doc(doctype, name);
|
||||
const row = frappe.get_doc(doctype, name);
|
||||
|
||||
if (row.is_system_generated) {
|
||||
frappe.throw(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue