refactor: Remove redundant code
This commit is contained in:
parent
62b48aeca4
commit
d7dc9bf64e
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ frappe.views.ListGroupBy = class ListGroupBy {
|
|||
if (!docfield) {
|
||||
return;
|
||||
}
|
||||
fieldtype = frappe.meta.get_docfield(this.doctype, fieldname).fieldtype;
|
||||
fieldtype = docfield.fieldtype;
|
||||
}
|
||||
|
||||
return `<li class="group-by-field list-link">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue