ui fix
This commit is contained in:
parent
02808a83c8
commit
f8e481105c
@ -702,14 +702,18 @@
|
|||||||
{:else if column.type === "percent"}
|
{:else if column.type === "percent"}
|
||||||
{item[column.key]?.toFixed(2) + "%"}
|
{item[column.key]?.toFixed(2) + "%"}
|
||||||
{:else if column.type === "percentSign"}
|
{:else if column.type === "percentSign"}
|
||||||
{#if item[column.key] >= 0}
|
{#if item[column.key] > 0}
|
||||||
<span class="text-[#00FC50]"
|
<span class="text-[#00FC50]"
|
||||||
>+{item[column.key]?.toFixed(2)}%</span
|
>+{item[column.key]?.toFixed(2)}%</span
|
||||||
>
|
>
|
||||||
{:else}
|
{:else if item[column.key] < 0}
|
||||||
<span class="text-[#FF2F1F]"
|
<span class="text-[#FF2F1F]"
|
||||||
>{item[column.key]?.toFixed(2)}%</span
|
>{item[column.key]?.toFixed(2)}%</span
|
||||||
>
|
>
|
||||||
|
{:else}
|
||||||
|
<span class="text-[#fff]"
|
||||||
|
>{item[column.key]?.toFixed(2)}%</span
|
||||||
|
>
|
||||||
{/if}
|
{/if}
|
||||||
{:else if column?.type === "rating"}
|
{:else if column?.type === "rating"}
|
||||||
{#if ["Strong Buy", "Buy"].includes(item[column.key])}
|
{#if ["Strong Buy", "Buy"].includes(item[column.key])}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user