diff --git a/src/components/charts/CandleChartContainer.vue b/src/components/charts/CandleChartContainer.vue index e6876b1c..6b32eaa7 100644 --- a/src/components/charts/CandleChartContainer.vue +++ b/src/components/charts/CandleChartContainer.vue @@ -158,14 +158,16 @@ const noDatasetText = computed((): string => { } }); const showPlotConfigModal = ref(false); -const showConfigurator = () => { + +function showConfigurator() { if (props.plotConfigModal) { showPlotConfigModal.value = !showPlotConfigModal.value; } else { showPlotConfig.value = !showPlotConfig.value; } -}; -const refresh = () => { +} + +function refresh() { console.log('refresh', pair.value, props.timeframe); if (pair.value && props.timeframe) { if (props.historicView) { @@ -184,7 +186,7 @@ const refresh = () => { }); } } -}; +} watch( () => props.availablePairs,