mirror of
https://github.com/espocrm/espocrm.git
synced 2026-07-01 08:26:04 +00:00
fix
This commit is contained in:
@@ -2384,6 +2384,7 @@ class ListRecordView extends View {
|
||||
return selectProvider.getFromLayout(this.entityType, this.listLayout);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @protected
|
||||
*/
|
||||
@@ -2393,6 +2394,11 @@ class ListRecordView extends View {
|
||||
const hiddenMap = this._listSettingsHelper ?
|
||||
this._listSettingsHelper.getHiddenColumnMap() : {};
|
||||
|
||||
// noinspection JSIncompatibleTypesComparison
|
||||
if (!this.listLayout || this.listLayout[Symbol.iterator] !== 'function') {
|
||||
return [];
|
||||
}
|
||||
|
||||
for (const col of this.listLayout) {
|
||||
let width = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user