load selected pair on load

This commit is contained in:
Lemuel 2022-03-04 03:06:44 +08:00
parent 06b5cc5230
commit 50cf3e2486

View File

@ -208,6 +208,10 @@ export default class CandleChartContainer extends Vue {
} }
this.plotConfigName = getPlotConfigName(); this.plotConfigName = getPlotConfigName();
this.plotConfig = getCustomPlotConfig(this.plotConfigName); this.plotConfig = getCustomPlotConfig(this.plotConfigName);
if (!this.hasDataset) {
this.refresh();
}
} }
plotConfigChanged() { plotConfigChanged() {