diff --git a/src/popup/components/Main.vue b/src/popup/components/Main.vue index 214ffcd..f5b103c 100644 --- a/src/popup/components/Main.vue +++ b/src/popup/components/Main.vue @@ -223,7 +223,7 @@ -
+
0; + + this.isLoadingAlias = true; + this.aliasArray = await this.fetchAlias( + currentPage, + this.searchString + ); + this.isLoadingAlias = false; let allAliasesAreLoaded = false; @@ -326,12 +329,12 @@ export default { if (bottomOfWindow) { currentPage += 1; - that.hasLoadMoreAlias = true; + that.isLoadingAlias = true; let newAliases = await that.fetchAlias( currentPage, that.searchString ); - that.hasLoadMoreAlias = false; + that.isLoadingAlias = false; allAliasesAreLoaded = newAliases.length === 0; that.aliasArray = mergeAliases(that.aliasArray, newAliases);