From 50cf3e248669a60e6639805a0d143ab28f341dc5 Mon Sep 17 00:00:00 2001 From: Lemuel Date: Fri, 4 Mar 2022 03:06:44 +0800 Subject: [PATCH] load selected pair on load --- src/components/charts/CandleChartContainer.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/charts/CandleChartContainer.vue b/src/components/charts/CandleChartContainer.vue index 5ec7b977..a9fa6b39 100644 --- a/src/components/charts/CandleChartContainer.vue +++ b/src/components/charts/CandleChartContainer.vue @@ -208,6 +208,10 @@ export default class CandleChartContainer extends Vue { } this.plotConfigName = getPlotConfigName(); this.plotConfig = getCustomPlotConfig(this.plotConfigName); + + if (!this.hasDataset) { + this.refresh(); + } } plotConfigChanged() {