Check the loading state before allowing a search retry
This commit is contained in:
parent
745b8b0c7b
commit
3754fa1e86
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ const Search = {
|
|||
},
|
||||
methods: {
|
||||
newQuery (query) {
|
||||
if (this.lastQuery === query) {
|
||||
if (this.lastQuery === query && !this.loading[this.currentResultTab]) {
|
||||
// Handle search retries
|
||||
this.lastQuery = "" // invalidate state
|
||||
this.search(query)
|
||||
|
|
Loading…
Reference in a new issue