MOBILE-3323 search: Fix error cannot read length of undefined
parent
70cdf8fc9c
commit
7d026fd413
|
@ -54,7 +54,7 @@ export class CoreSearchBoxComponent implements OnInit, OnDestroy {
|
|||
|
||||
searched = ''; // Last search emitted.
|
||||
searchText = '';
|
||||
history: CoreSearchHistoryItem[];
|
||||
history: CoreSearchHistoryItem[] = [];
|
||||
historyShown = false;
|
||||
|
||||
protected elementClicked = '';
|
||||
|
|
Loading…
Reference in New Issue