FIX: If you go to full page search, stop loading
This commit is contained in:
parent
db3ae803c5
commit
8321bdab4e
|
@ -161,6 +161,8 @@ export default createWidget('search-menu', {
|
||||||
fullSearch() {
|
fullSearch() {
|
||||||
if (!isValidSearchTerm(searchData.term)) { return; }
|
if (!isValidSearchTerm(searchData.term)) { return; }
|
||||||
|
|
||||||
|
searchData.results = [];
|
||||||
|
searchData.loading = false;
|
||||||
SearchHelper.cancel();
|
SearchHelper.cancel();
|
||||||
const url = this.fullSearchUrl();
|
const url = this.fullSearchUrl();
|
||||||
if (url) {
|
if (url) {
|
||||||
|
|
Loading…
Reference in New Issue