From c3cf37c27c3d295dadf0efc6296f4e3e8ae0a53d Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 28 Aug 2021 10:15:12 +0200 Subject: [PATCH] Fix typo in getter-mappping --- src/store/modules/ftbot/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/store/modules/ftbot/index.ts b/src/store/modules/ftbot/index.ts index f461d9a5..64f6c8d0 100644 --- a/src/store/modules/ftbot/index.ts +++ b/src/store/modules/ftbot/index.ts @@ -139,8 +139,8 @@ export default { [BotStoreGetters.profit](state: FtbotStateType): ProfitInterface | {} { return state.profit; }, - [BotStoreGetters.botState](state: FtbotStateType): BotState | {} { - return state.profit; + [BotStoreGetters.botState](state: FtbotStateType): BotState | undefined { + return state.botState; }, }, mutations: {