diff --git a/src/components/ftbot/PlotConfigurator.vue b/src/components/ftbot/PlotConfigurator.vue index 95b4d7ac..49475b84 100644 --- a/src/components/ftbot/PlotConfigurator.vue +++ b/src/components/ftbot/PlotConfigurator.vue @@ -60,6 +60,10 @@ Add Load + + Load from strategy + + diff --git a/src/store/modules/ftbot.ts b/src/store/modules/ftbot.ts index 02a3fbbc..c943d6c2 100644 --- a/src/store/modules/ftbot.ts +++ b/src/store/modules/ftbot.ts @@ -40,7 +40,7 @@ export default { detailTradeId: null, candleData: {}, history: {}, - plotConfig: {}, + strategyPlotConfig: {}, customPlotConfig: { ...EMPTY_PLOTCONFIG }, }, getters: { @@ -105,7 +105,7 @@ export default { state.history = { [`${pair}__${timeframe}`]: data }; }, updatePlotConfig(state, plotConfig: PlotConfig) { - state.plotConfig = plotConfig; + state.strategyPlotConfig = plotConfig; }, saveCustomPlotConfig(state, plotConfig: PlotConfig) { state.customPlotConfig = plotConfig;