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

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