mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-30 10:58:31 -05:00
FIX: If you go to full page search, stop loading
This commit is contained in:
parent
db3ae803c5
commit
8321bdab4e
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue