small fix
This commit is contained in:
parent
ea9a66b7c5
commit
812677b20a
@ -318,10 +318,10 @@
|
|||||||
// Set display legend
|
// Set display legend
|
||||||
displayLegend = {
|
displayLegend = {
|
||||||
close:
|
close:
|
||||||
$realtimePrice !== null
|
$realtimePrice !== null && $realtimePrice !== undefined
|
||||||
? $realtimePrice
|
? $realtimePrice
|
||||||
: (currentDataRowOneDay?.close?.toFixed(2) ??
|
: currentDataRowOneDay?.close?.toFixed(2) ||
|
||||||
data?.getStockQuote?.price?.toFixed(2)),
|
data?.getStockQuote?.price?.toFixed(2),
|
||||||
date: safeFormattedDate,
|
date: safeFormattedDate,
|
||||||
change,
|
change,
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user