diff --git a/src/components/ftbot/BotComparisonList.vue b/src/components/ftbot/BotComparisonList.vue index 2532ceb4..3c03557e 100644 --- a/src/components/ftbot/BotComparisonList.vue +++ b/src/components/ftbot/BotComparisonList.vue @@ -75,7 +75,6 @@ export default defineComponent({ ]; const tableItems = computed(() => { - console.log('tableItems called'); const val: ComparisonTableItems[] = []; const summary: ComparisonTableItems = { botId: undefined, diff --git a/src/stores/ftbot.ts b/src/stores/ftbot.ts index 8582b649..0aaa6fd8 100644 --- a/src/stores/ftbot.ts +++ b/src/stores/ftbot.ts @@ -205,6 +205,7 @@ export function createBotSubStore(botId: string, botName: string) { } // Refresh data only when needed if (forceUpdate || this.refreshRequired) { + this.refreshing = true; // TODO: Should be AxiosInstance const updates: Promise[] = []; updates.push(this.getPerformance()); @@ -216,6 +217,7 @@ export function createBotSubStore(botId: string, botName: string) { updates.push(this.getBlacklist()); await Promise.all(updates); this.refreshRequired = false; + this.refreshing = false; } return Promise.resolve(); },