This commit is contained in:
MuslemRahimi 2024-12-03 21:30:31 +01:00
parent 86b29b2d6a
commit 50c6d42177
3 changed files with 3 additions and 3 deletions

View File

@ -836,7 +836,7 @@
{item[column.key]?.toLocaleString("en-US")} {item[column.key]?.toLocaleString("en-US")}
{:else if column.key === "price"} {:else if column.key === "price"}
<div class="relative flex items-center justify-end"> <div class="relative flex items-center justify-end">
{#if item?.previous !== null && item?.previous !== undefined && item?.previous !== item[column?.key]} {#if item?.previous !== null && item?.previous !== undefined && Math.abs(item?.previous - item[column?.key]) >= 0.01}
<span <span
class="absolute h-1 w-1 {item[column?.key] < 10 class="absolute h-1 w-1 {item[column?.key] < 10
? 'right-[35px] sm:right-[40px]' ? 'right-[35px] sm:right-[40px]'

View File

@ -192,7 +192,7 @@
{formatString(item?.name)} {formatString(item?.name)}
</span> </span>
<span class="text-white text-md mb-8"> <span class="text-white text-md mb-8">
AUM: {abbreviateNumber(item?.marketValue, true)} AUM: {abbreviateNumber(item?.marketValue)}
</span> </span>
</div> </div>

View File

@ -1361,7 +1361,7 @@
<div <div
class="relative flex items-center justify-end" class="relative flex items-center justify-end"
> >
{#if item?.previous !== null && item?.previous !== undefined && item?.previous !== item[row?.rule] && row?.rule === "price"} {#if item?.previous !== null && item?.previous !== undefined && Math.abs(item?.previous - item[row?.rule]) >= 0.01 && row?.rule === "price"}
<span <span
class="absolute h-1 w-1 {item[ class="absolute h-1 w-1 {item[
row?.rule row?.rule