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.
|
searched = ''; // Last search emitted.
|
||||||
searchText = '';
|
searchText = '';
|
||||||
history: CoreSearchHistoryItem[];
|
history: CoreSearchHistoryItem[] = [];
|
||||||
historyShown = false;
|
historyShown = false;
|
||||||
|
|
||||||
protected elementClicked = '';
|
protected elementClicked = '';
|
||||||
|
|
Loading…
Reference in New Issue