mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -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() {
|
||||
if (!isValidSearchTerm(searchData.term)) { return; }
|
||||
|
||||
searchData.results = [];
|
||||
searchData.loading = false;
|
||||
SearchHelper.cancel();
|
||||
const url = this.fullSearchUrl();
|
||||
if (url) {
|
||||
|
|
Loading…
Reference in a new issue