ui fix
This commit is contained in:
parent
13447b697c
commit
0dd50d1bbe
@ -69,7 +69,8 @@
|
||||
></td
|
||||
>
|
||||
<td class="text-right cursor-normal"
|
||||
>{item?.dividendYield !== null
|
||||
>{item?.dividendYield !== null &&
|
||||
item?.dividendYield !== undefined
|
||||
? item?.dividendYield + "%"
|
||||
: "n/a"}</td
|
||||
>
|
||||
|
||||
@ -67,10 +67,16 @@
|
||||
></td
|
||||
>
|
||||
<td class="text-right cursor-normal"
|
||||
>{parseFloat(item?.employees).toLocaleString("en-US", {
|
||||
maximumFractionDigits: 2,
|
||||
minimumFractionDigits: 0,
|
||||
})}</td
|
||||
>{item?.employees !== null &&
|
||||
item?.employees !== undefined
|
||||
? parseFloat(item?.employees).toLocaleString(
|
||||
"en-US",
|
||||
{
|
||||
maximumFractionDigits: 2,
|
||||
minimumFractionDigits: 0,
|
||||
},
|
||||
)
|
||||
: "n/a"}</td
|
||||
>
|
||||
</tr>
|
||||
{/each}
|
||||
|
||||
@ -58,6 +58,7 @@
|
||||
>
|
||||
<tbody>
|
||||
{#each similarStocks?.slice(0, 8) as item}
|
||||
{#if item?.marketCap > 0}
|
||||
<tr class="border-gray-600 border-b"
|
||||
><td class="text-left"
|
||||
><a
|
||||
@ -70,6 +71,7 @@
|
||||
>{abbreviateNumber(item?.marketCap)}</td
|
||||
>
|
||||
</tr>
|
||||
{/if}
|
||||
{/each}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user