Fix history history filter for null

Fixes an issue where the history filter was throwing an error
if there were deleted objectsy
This commit is contained in:
Sean 2019-03-11 10:29:12 +01:00
parent d10dfb0915
commit 4e62e9253e
1 changed files with 1 additions and 0 deletions

View File

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