diff --git a/src/components/charts/PlotConfigurator.vue b/src/components/charts/PlotConfigurator.vue index 2be6b2ce..02e9708a 100644 --- a/src/components/charts/PlotConfigurator.vue +++ b/src/components/charts/PlotConfigurator.vue @@ -15,7 +15,9 @@ - + + - @@ -103,7 +105,7 @@ size="sm" title="Show configuration for easy transfer to a strategy" @click="showConfig = !showConfig" - >Show{{ showConfig ? 'Hide' : 'Show' }} @@ -139,9 +138,12 @@ watch( graphType.value = props.modelValue[selAvailableIndicator.value].type || ChartType.line; } }, + { + immediate: true, + }, ); -watch(selColor, () => { +watch([selColor, graphType], () => { if (!props.addNew) { emitIndicator(); }