mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-23 03:25:15 +00:00
Merge pull request #1058 from daniila/plot_config_select_fix
fix select values updating with delay
This commit is contained in:
commit
fb5ba3df9d
|
@ -30,10 +30,10 @@ export const usePlotConfigStore = defineStore('plotConfig', {
|
||||||
this.plotConfigName = plotConfigName;
|
this.plotConfigName = plotConfigName;
|
||||||
storePlotConfigName(plotConfigName);
|
storePlotConfigName(plotConfigName);
|
||||||
},
|
},
|
||||||
plotConfigChanged() {
|
plotConfigChanged(plotConfigName = '') {
|
||||||
console.log('plotConfigChanged');
|
console.log('plotConfigChanged');
|
||||||
|
this.setPlotConfigName(plotConfigName ? plotConfigName : this.plotConfigName);
|
||||||
this.plotConfig = getCustomPlotConfig(this.plotConfigName);
|
this.plotConfig = getCustomPlotConfig(this.plotConfigName);
|
||||||
this.setPlotConfigName(this.plotConfigName);
|
|
||||||
},
|
},
|
||||||
setPlotConfig(plotConfig: PlotConfig) {
|
setPlotConfig(plotConfig: PlotConfig) {
|
||||||
console.log('emit...');
|
console.log('emit...');
|
||||||
|
|
Loading…
Reference in New Issue
Block a user