From 8a7c6cbddc87adfb3a88ac02c3e519dc70addf06 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 2 Apr 2023 15:25:45 +0200 Subject: [PATCH] Cleanup unused code --- src/stores/ftbot.ts | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/stores/ftbot.ts b/src/stores/ftbot.ts index 8cc6cc67..39475ef5 100644 --- a/src/stores/ftbot.ts +++ b/src/stores/ftbot.ts @@ -138,18 +138,6 @@ export function createBotSubStore(botId: string, botName: string) { ) { return true; } - // TODO: This backgroundSyncCheck is still missing above - // const bgRefresh = rootGetters['uiSettings/backgroundSync']; - // const selectedBot = rootGetters[`${StoreModules.ftbot}/selectedBot`]; - // if ( - // (selectedBot === botId || bgRefresh) && - // getters.autoRefresh && - // getters.isBotOnline && - // getters.botStatusAvailable && - // !getters.isWebserverMode - // ) { - // return true; - // } return false; }, botName: (state) => state.botState?.bot_name || 'freqtrade',