mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-12 19:23:51 +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() {
|
export function usePlotTemplates() {
|
||||||
function applyPlotTemplate(templateName: string, currentConfig: PlotConfig) {
|
function applyPlotTemplate(templateName: string, currentConfig: PlotConfig) {
|
||||||
const template = plotTemplates[templateName];
|
const template = plotTemplates.value[templateName];
|
||||||
if (!template) {
|
if (!template) {
|
||||||
return currentConfig;
|
return currentConfig;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user