parent
409f3c0af8
commit
0157ee6f22
1 changed files with 3 additions and 0 deletions
|
|
@ -225,6 +225,9 @@ frappe.views.ListRenderer = Class.extend({
|
|||
// Remove duplicates
|
||||
this.columns = this.columns.uniqBy(col => col.title);
|
||||
|
||||
// Remove TextEditor field columns
|
||||
this.columns = this.columns.filter(col => col.fieldtype !== 'Text Editor')
|
||||
|
||||
// Limit number of columns to 4
|
||||
this.columns = this.columns.slice(0, 4);
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue