mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-14 12:13:52 +00:00
Don't throttle Trades list to allow update when bot-comparison selection changes
closes #1282
This commit is contained in:
parent
6fe56a857e
commit
6f0ae677df
|
@ -27,7 +27,7 @@ import {
|
||||||
Trade,
|
Trade,
|
||||||
} from '@/types';
|
} from '@/types';
|
||||||
import { watchThrottled } from '@vueuse/core';
|
import { watchThrottled } from '@vueuse/core';
|
||||||
import { computed, onMounted, ref } from 'vue';
|
import { computed, onMounted, ref, watch } from 'vue';
|
||||||
|
|
||||||
use([
|
use([
|
||||||
BarChart,
|
BarChart,
|
||||||
|
@ -258,12 +258,11 @@ watchThrottled(
|
||||||
},
|
},
|
||||||
{ throttle: 60 * 1000 },
|
{ throttle: 60 * 1000 },
|
||||||
);
|
);
|
||||||
watchThrottled(
|
watch(
|
||||||
() => props.trades,
|
() => props.trades,
|
||||||
() => {
|
() => {
|
||||||
updateChart();
|
updateChart();
|
||||||
},
|
},
|
||||||
{ throttle: 60 * 1000 },
|
|
||||||
);
|
);
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user