This commit is contained in:
MuslemRahimi 2024-08-27 21:08:35 +02:00
parent d740ed1b46
commit 9eb1544291
2 changed files with 4 additions and 3 deletions

View File

@ -169,7 +169,7 @@ $: {
<div class="flex flex-col items-center">
<span class="text-white font-medium text-[1rem] mb-4">
{#if data?.user?.tier === 'Pro'}
{item?.value}
{item?.value !== 0 ? item?.value : '-'}
{:else if ['1M','1Y']?.includes(item?.label)}
{item?.value}
{:else}
@ -185,7 +185,7 @@ $: {
<div class="bg-[#2F2F2F] w-2 rounded-t-full" style="height: {(100)}%;"></div>
{/if}
</div>
<span class="text-gray-400 font-medium text-sm mt-4">
<span class="text-white font-medium text-sm mt-4">
{item?.label}
</span>
</div>

View File

@ -214,7 +214,7 @@ let charNumber = 30;
</div>
</div>
{#if putCallRatio !== 0}
<h1 class="text-white font-semibold text-xl sm:text-2xl mb-3 mt-5 sm:-mt-5">
Options Activity
</h1>
@ -315,6 +315,7 @@ let charNumber = 30;
</div>
</div>
{/if}