diff --git a/frappe/public/js/frappe/list/list_view.js b/frappe/public/js/frappe/list/list_view.js index 2fa11099a7..dcbeaee1d1 100644 --- a/frappe/public/js/frappe/list/list_view.js +++ b/frappe/public/js/frappe/list/list_view.js @@ -1896,13 +1896,10 @@ frappe.views.ListView = class ListView extends frappe.views.BaseList { }; const is_bulk_editable = (doctype) => { - if ( - this.list_view_settings && - this.list_view_settings.disable_edit!=undefined - ) { - return !this.list_view_settings.disable_edit; + if (this.list_view_settings && this.list_view_settings.disable_edit != undefined) { + return !this.list_view_settings.disable_edit; } - return !frappe.model.has_workflow(doctype) + return !frappe.model.has_workflow(doctype); }; // utility