mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-23 03:25:15 +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 showConfigurator = () => {
|
||||
|
||||
function showConfigurator() {
|
||||
if (props.plotConfigModal) {
|
||||
showPlotConfigModal.value = !showPlotConfigModal.value;
|
||||
} else {
|
||||
showPlotConfig.value = !showPlotConfig.value;
|
||||
}
|
||||
};
|
||||
const refresh = () => {
|
||||
}
|
||||
|
||||
function refresh() {
|
||||
console.log('refresh', pair.value, props.timeframe);
|
||||
if (pair.value && props.timeframe) {
|
||||
if (props.historicView) {
|
||||
|
@ -184,7 +186,7 @@ const refresh = () => {
|
|||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
watch(
|
||||
() => props.availablePairs,
|
||||
|
|
Loading…
Reference in New Issue
Block a user