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: {
|
methods: {
|
||||||
newQuery (query) {
|
newQuery (query) {
|
||||||
if (this.lastQuery === query) {
|
if (this.lastQuery === query && !this.loading[this.currentResultTab]) {
|
||||||
// Handle search retries
|
// Handle search retries
|
||||||
this.lastQuery = "" // invalidate state
|
this.lastQuery = "" // invalidate state
|
||||||
this.search(query)
|
this.search(query)
|
||||||
|
|
Loading…
Reference in a new issue