mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-21 15:43:51 +00:00
Merge pull request #2121 from xzmeng/fix-trade-select
Some checks failed
Some checks failed
Fix trade select
This commit is contained in:
commit
aec27859a6
|
@ -649,12 +649,10 @@ function initializeChartOptions() {
|
|||
function updateSliderPosition() {
|
||||
if (!props.sliderPosition) return;
|
||||
|
||||
const start = timestampms(props.sliderPosition.startValue - props.dataset.timeframe_ms * 40);
|
||||
const end = timestampms(
|
||||
props.sliderPosition.endValue
|
||||
? props.sliderPosition.endValue + props.dataset.timeframe_ms * 40
|
||||
: props.sliderPosition.startValue + props.dataset.timeframe_ms * 80,
|
||||
);
|
||||
const start = props.sliderPosition.startValue - props.dataset.timeframe_ms * 40;
|
||||
const end = props.sliderPosition.endValue
|
||||
? props.sliderPosition.endValue + props.dataset.timeframe_ms * 40
|
||||
: props.sliderPosition.startValue + props.dataset.timeframe_ms * 80;
|
||||
if (candleChart.value) {
|
||||
candleChart.value.dispatchAction({
|
||||
type: 'dataZoom',
|
||||
|
|
Loading…
Reference in New Issue
Block a user