mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-10 10:21:55 +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;
|
||||
}
|
||||
|
||||
@ftbot.Action getPlotConfig;
|
||||
@ftbot.Action getStrategyPlotConfig;
|
||||
|
||||
@ftbot.State strategyPlotConfig;
|
||||
|
||||
|
@ -308,7 +308,7 @@ export default class PlotConfigurator extends Vue {
|
|||
}
|
||||
|
||||
async loadPlotConfigFromStrategy() {
|
||||
await this.getPlotConfig();
|
||||
await this.getStrategyPlotConfig();
|
||||
this.plotConfig = this.strategyPlotConfig;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -195,7 +195,7 @@ export default {
|
|||
reject(error);
|
||||
});
|
||||
},
|
||||
getPlotConfig({ commit }) {
|
||||
getStrategyPlotConfig({ commit }) {
|
||||
return api
|
||||
.get('/plot_config')
|
||||
.then((result) => commit('updatePlotConfig', result.data))
|
||||
|
|
Loading…
Reference in New Issue
Block a user