Skip to content

Commit

Permalink
style: use const instead of let
Browse files Browse the repository at this point in the history
  • Loading branch information
sagarvora committed Mar 10, 2023
1 parent 9a88acf commit 1ed4b2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frappe/custom/doctype/customize_form/customize_form.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 1ed4b2d

Please sign in to comment.