mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-23 11:35:14 +00:00
Don't use anonymous functions in chartcontainer
This commit is contained in:
parent
b722e1ff0a
commit
591606d043
|
@ -158,14 +158,16 @@ const noDatasetText = computed((): string => {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
const showPlotConfigModal = ref(false);
|
const showPlotConfigModal = ref(false);
|
||||||
const showConfigurator = () => {
|
|
||||||
|
function showConfigurator() {
|
||||||
if (props.plotConfigModal) {
|
if (props.plotConfigModal) {
|
||||||
showPlotConfigModal.value = !showPlotConfigModal.value;
|
showPlotConfigModal.value = !showPlotConfigModal.value;
|
||||||
} else {
|
} else {
|
||||||
showPlotConfig.value = !showPlotConfig.value;
|
showPlotConfig.value = !showPlotConfig.value;
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
const refresh = () => {
|
|
||||||
|
function refresh() {
|
||||||
console.log('refresh', pair.value, props.timeframe);
|
console.log('refresh', pair.value, props.timeframe);
|
||||||
if (pair.value && props.timeframe) {
|
if (pair.value && props.timeframe) {
|
||||||
if (props.historicView) {
|
if (props.historicView) {
|
||||||
|
@ -184,7 +186,7 @@ const refresh = () => {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
|
|
||||||
watch(
|
watch(
|
||||||
() => props.availablePairs,
|
() => props.availablePairs,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user