
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);