mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-26 21:15:15 +00:00
Fix type error due to newly typed field in chart component
This commit is contained in:
parent
7c61011608
commit
d73fa800bc
|
@ -167,7 +167,7 @@ export function generateTradeSeries(
|
||||||
},
|
},
|
||||||
itemStyle: {
|
itemStyle: {
|
||||||
// color: tradeSellColor,
|
// color: tradeSellColor,
|
||||||
color: (v) => v.data[4],
|
color: (v) => (v.data ? v.data[4] : '#000'),
|
||||||
opacity: 0.9,
|
opacity: 0.9,
|
||||||
},
|
},
|
||||||
symbol: (v) => v[2],
|
symbol: (v) => v[2],
|
||||||
|
|
Loading…
Reference in New Issue
Block a user