mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-10 02:11:57 +00:00
chore: fix non-working template apply
This commit is contained in:
parent
9004198581
commit
2739e72bff
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user