Fix plot-config not updating when a different plot is selected

This commit is contained in:
Matthias 2022-12-22 07:02:32 +01:00
parent fb5ba3df9d
commit 1a686fab57
2 changed files with 2 additions and 2 deletions

View File

@ -85,7 +85,7 @@
ok-only ok-only
hide-backdrop hide-backdrop
> >
<PlotConfigurator :columns="datasetColumns" /> <PlotConfigurator v-if="showPlotConfigModal" :columns="datasetColumns" />
</b-modal> </b-modal>
</div> </div>
</template> </template>

View File

@ -307,7 +307,7 @@ const savePlotConfig = () => {
}; };
onMounted(() => { onMounted(() => {
// console.log('Config Mounted', props.value); // console.log('Config Mounted', props);
plotConfig.value = plotStore.plotConfig; plotConfig.value = plotStore.plotConfig;
plotConfigNameLoc.value = plotStore.plotConfigName; plotConfigNameLoc.value = plotStore.plotConfigName;
}); });