bugfixing

This commit is contained in:
MuslemRahimi 2024-11-26 16:55:45 +01:00
parent 83b200c709
commit e779130d41

View File

@ -315,8 +315,10 @@
// Set display legend // Set display legend
displayLegend = { displayLegend = {
close: close:
currentDataRowOneDay?.close?.toFixed(2) ?? $realtimePrice !== null
data?.getStockQuote?.price?.toFixed(2), ? $realtimePrice
: (currentDataRowOneDay?.close?.toFixed(2) ??
data?.getStockQuote?.price?.toFixed(2)),
date: safeFormattedDate, date: safeFormattedDate,
change, change,
}; };
@ -784,7 +786,7 @@
{/if} {/if}
</div> </div>
</div> </div>
{#if Object?.keys(prePostData)?.length !== 0} {#if Object?.keys(prePostData)?.length !== 0 && !$isOpen}
<div <div
class="border-l border-default pl-3 bp:pl-5" class="border-l border-default pl-3 bp:pl-5"
> >