Remove unused getter

This commit is contained in:
Matthias 2021-08-28 13:57:08 +02:00
parent a58f678757
commit cbd87edb35

View File

@ -51,7 +51,6 @@ export enum BotStoreGetters {
currentLocks = 'currentLocks', currentLocks = 'currentLocks',
plotConfig = 'plotConfig', plotConfig = 'plotConfig',
availablePlotConfigNames = 'availablePlotConfigNames', availablePlotConfigNames = 'availablePlotConfigNames',
plotConfigNames = 'plotConfigNames',
plotConfigName = 'plotConfigName', plotConfigName = 'plotConfigName',
timeframe = 'timeframe', timeframe = 'timeframe',
isTrading = 'isTrading', isTrading = 'isTrading',
@ -97,10 +96,6 @@ export default {
[BotStoreGetters.availablePlotConfigNames](state: FtbotStateType): string[] { [BotStoreGetters.availablePlotConfigNames](state: FtbotStateType): string[] {
return state.availablePlotConfigNames; return state.availablePlotConfigNames;
}, },
// TODO: is the following even used?
[BotStoreGetters.plotConfigNames](state: FtbotStateType): string[] {
return Object.keys(state.customPlotConfig);
},
[BotStoreGetters.plotConfigName](state: FtbotStateType): string { [BotStoreGetters.plotConfigName](state: FtbotStateType): string {
return state.plotConfigName; return state.plotConfigName;
}, },