mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-27 05:25:17 +00:00
rename plotconfig from strategy action
This commit is contained in:
parent
bcbd765ec2
commit
2d8e65b675
|
@ -152,7 +152,7 @@ export default class PlotConfigurator extends Vue {
|
||||||
return this.plotConfig;
|
return this.plotConfig;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ftbot.Action getPlotConfig;
|
@ftbot.Action getStrategyPlotConfig;
|
||||||
|
|
||||||
@ftbot.State strategyPlotConfig;
|
@ftbot.State strategyPlotConfig;
|
||||||
|
|
||||||
|
@ -308,7 +308,7 @@ export default class PlotConfigurator extends Vue {
|
||||||
}
|
}
|
||||||
|
|
||||||
async loadPlotConfigFromStrategy() {
|
async loadPlotConfigFromStrategy() {
|
||||||
await this.getPlotConfig();
|
await this.getStrategyPlotConfig();
|
||||||
this.plotConfig = this.strategyPlotConfig;
|
this.plotConfig = this.strategyPlotConfig;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -195,7 +195,7 @@ export default {
|
||||||
reject(error);
|
reject(error);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
getPlotConfig({ commit }) {
|
getStrategyPlotConfig({ commit }) {
|
||||||
return api
|
return api
|
||||||
.get('/plot_config')
|
.get('/plot_config')
|
||||||
.then((result) => commit('updatePlotConfig', result.data))
|
.then((result) => commit('updatePlotConfig', result.data))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user