mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-27 05:25:17 +00:00
iRemove last 2 Mutations that've been directly used
This commit is contained in:
parent
ccd8944dc2
commit
2971f53c2c
|
@ -198,10 +198,10 @@ export default class PlotConfigurator extends Vue {
|
|||
|
||||
tempPlotConfigValid = true;
|
||||
|
||||
@ftbot.Mutation saveCustomPlotConfig;
|
||||
@ftbot.Action saveCustomPlotConfig;
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
@ftbot.Mutation updatePlotConfigName!: (plotConfigName: string) => void;
|
||||
@ftbot.Action updatePlotConfigName!: (plotConfigName: string) => void;
|
||||
|
||||
@ftbot.Getter [BotStoreGetters.plotConfigName]!: string;
|
||||
|
||||
|
|
|
@ -105,6 +105,8 @@ export enum BotStoreActions {
|
|||
refreshOnce = 'refreshOnce',
|
||||
setDetailTrade = 'setDetailTrade',
|
||||
setSelectedPair = 'setSelectedPair',
|
||||
saveCustomPlotConfig = 'saveCustomPlotConfig',
|
||||
updatePlotConfigName = 'updatePlotConfigName',
|
||||
getTrades = 'getTrades',
|
||||
getLocks = 'getLocks',
|
||||
deleteLock = 'deleteLock',
|
||||
|
@ -504,6 +506,12 @@ export function createBotSubStore(botId: string, botName: string) {
|
|||
[BotStoreActions.setSelectedPair]({ commit }, pair: string) {
|
||||
commit('setSelectedPair', pair);
|
||||
},
|
||||
[BotStoreActions.saveCustomPlotConfig]({ commit }, plotConfig: PlotConfigStorage) {
|
||||
commit('saveCustomPlotConfig', plotConfig);
|
||||
},
|
||||
[BotStoreActions.updatePlotConfigName]({ commit }, plotConfigName: string) {
|
||||
commit('updatePlotConfigName', plotConfigName);
|
||||
},
|
||||
async [BotStoreActions.getTrades]({ commit }) {
|
||||
try {
|
||||
let totalTrades = 0;
|
||||
|
|
Loading…
Reference in New Issue
Block a user