From 3754fa1e86123cf87de1acc4d8fbf274d9008120 Mon Sep 17 00:00:00 2001 From: itepechi Date: Fri, 14 Jun 2024 14:28:55 +0900 Subject: [PATCH] Check the loading state before allowing a search retry --- src/components/search/search.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/search/search.js b/src/components/search/search.js index 333f9294..2f7f2975 100644 --- a/src/components/search/search.js +++ b/src/components/search/search.js @@ -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)