mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-10 18:23:50 +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,
|
||||
} from '@/types';
|
||||
import { watchThrottled } from '@vueuse/core';
|
||||
import { computed, onMounted, ref } from 'vue';
|
||||
import { computed, onMounted, ref, watch } from 'vue';
|
||||
|
||||
use([
|
||||
BarChart,
|
||||
|
@ -258,12 +258,11 @@ watchThrottled(
|
|||
},
|
||||
{ throttle: 60 * 1000 },
|
||||
);
|
||||
watchThrottled(
|
||||
watch(
|
||||
() => props.trades,
|
||||
() => {
|
||||
updateChart();
|
||||
},
|
||||
{ throttle: 60 * 1000 },
|
||||
);
|
||||
</script>
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user