Merge pull request #4492 from tsiegleauq/history-filter

Fix history history filter for null
This commit is contained in:
Emanuel Schütze 2019-03-11 12:25:37 +01:00 committed by GitHub
commit d251bd15e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -172,6 +172,7 @@ export class HistoryListComponent extends ListViewBaseComponent<ViewHistory, His
} }
filter = filter ? filter.toLowerCase() : ''; filter = filter ? filter.toLowerCase() : '';
if ( if (
this.getElementInfo(data) &&
this.getElementInfo(data) this.getElementInfo(data)
.toLowerCase() .toLowerCase()
.indexOf(filter) >= 0 .indexOf(filter) >= 0