fix(linter): Trim Trailing Whitespace

This commit is contained in:
Shariq Ansari 2022-03-31 11:58:50 +05:30
parent 1fdfbeb083
commit 45e2361dcc
2 changed files with 5 additions and 5 deletions

View file

@ -52,8 +52,8 @@ frappe.ui.form.on("Customize Form", {
grid_row.row.removeClass("highlight");
if (grid_row.doc.is_custom_field &&
!grid_row.row.hasClass('highlight') &&
if (grid_row.doc.is_custom_field &&
!grid_row.row.hasClass('highlight') &&
!grid_row.doc.is_system_generated) {
grid_row.row.addClass("highlight");
}

View file

@ -68,9 +68,9 @@ class CustomizeForm(Document):
for d in meta.get("fields"):
new_d = {
"fieldname": d.fieldname,
"is_custom_field": d.get("is_custom_field"),
"is_system_generated": d.get("is_system_generated"),
"fieldname": d.fieldname,
"is_custom_field": d.get("is_custom_field"),
"is_system_generated": d.get("is_system_generated"),
"name": d.name
}
for prop in docfield_properties: