chore: fix non-working template apply

This commit is contained in:
Matthias 2024-07-23 06:27:38 +02:00
parent 9004198581
commit 2739e72bff

View File

@ -42,7 +42,7 @@ const plotTemplates = ref<PlotConfigTemplate>({
export function usePlotTemplates() {
function applyPlotTemplate(templateName: string, currentConfig: PlotConfig) {
const template = plotTemplates[templateName];
const template = plotTemplates.value[templateName];
if (!template) {
return currentConfig;
}