ui fixes
This commit is contained in:
parent
7a2bc1ba47
commit
dbe45710c4
@ -961,7 +961,7 @@
|
|||||||
>
|
>
|
||||||
<td
|
<td
|
||||||
class="whitespace-nowrap px-0.5 py-[1px] text-left text-sm font-semibold xs:px-1 sm:py-2 sm:text-right sm:text-[1rem]"
|
class="whitespace-nowrap px-0.5 py-[1px] text-left text-sm font-semibold xs:px-1 sm:py-2 sm:text-right sm:text-[1rem]"
|
||||||
>{abbreviateNumber(data?.getStockQuote?.volume)}</td
|
>{data?.getStockQuote?.volume ? abbreviateNumber(data?.getStockQuote?.volume) : 'n/a'}</td
|
||||||
></tr
|
></tr
|
||||||
>
|
>
|
||||||
|
|
||||||
@ -1023,17 +1023,7 @@
|
|||||||
: (data?.getStockQuote?.ask ?? "-")}</td
|
: (data?.getStockQuote?.ask ?? "-")}</td
|
||||||
></tr
|
></tr
|
||||||
>
|
>
|
||||||
<tr
|
|
||||||
class="flex flex-col border-b border-gray-600 py-1 sm:table-row sm:py-0"
|
|
||||||
><td
|
|
||||||
class="whitespace-nowrap px-0.5 py-[1px] xs:px-1 sm:py-2 text-sm sm:text-[1rem]"
|
|
||||||
>Avg. Volume</td
|
|
||||||
>
|
|
||||||
<td
|
|
||||||
class="whitespace-nowrap px-0.5 py-[1px] text-left text-sm font-semibold xs:px-1 sm:py-2 sm:text-right sm:text-[1rem]"
|
|
||||||
>{abbreviateNumber(data?.getStockQuote?.avgVolume)}</td
|
|
||||||
></tr
|
|
||||||
>
|
|
||||||
|
|
||||||
<tr
|
<tr
|
||||||
class="flex flex-col border-b border-gray-600 py-1 sm:table-row sm:py-0"
|
class="flex flex-col border-b border-gray-600 py-1 sm:table-row sm:py-0"
|
||||||
@ -1048,6 +1038,19 @@
|
|||||||
>
|
>
|
||||||
|
|
||||||
|
|
||||||
|
<tr
|
||||||
|
class="flex flex-col border-b border-gray-600 py-1 sm:table-row sm:py-0"
|
||||||
|
><td
|
||||||
|
class="whitespace-nowrap px-0.5 py-[1px] xs:px-1 sm:py-2 text-sm sm:text-[1rem]"
|
||||||
|
>Avg. Volume</td
|
||||||
|
>
|
||||||
|
<td
|
||||||
|
class="whitespace-nowrap px-0.5 py-[1px] text-left text-sm font-semibold xs:px-1 sm:py-2 sm:text-right sm:text-[1rem]"
|
||||||
|
>{data?.getStockQuote?.avgVolume ? abbreviateNumber(data?.getStockQuote?.avgVolume) : 'n/a'}</td
|
||||||
|
></tr
|
||||||
|
>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<tr
|
<tr
|
||||||
class="flex flex-col border-b border-gray-600 py-1 sm:table-row sm:py-0"
|
class="flex flex-col border-b border-gray-600 py-1 sm:table-row sm:py-0"
|
||||||
|
|||||||
@ -488,7 +488,7 @@
|
|||||||
<td
|
<td
|
||||||
class="text-end text-sm sm:text-[1rem] whitespace-nowrap text-white"
|
class="text-end text-sm sm:text-[1rem] whitespace-nowrap text-white"
|
||||||
>
|
>
|
||||||
{item?.volume?.toLocaleString("en-US")}
|
{item?.volume ? item?.volume?.toLocaleString("en-US") : 'n/a'}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{/each}
|
{/each}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user