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