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