bugfixing
This commit is contained in:
parent
d822ca8ed2
commit
829217b669
@ -417,12 +417,12 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{#each ["Pro", "Plus"]?.includes(data?.user?.tier) ? optionList : optionList?.slice(0, 3) as item, index}
|
||||
{#each ["Pro"]?.includes(data?.user?.tier) ? optionList : optionList?.slice(0, 3) as item, index}
|
||||
<tr
|
||||
class="sm:hover:bg-[#245073]/10 odd:bg-odd border-b border-gray-800 {index +
|
||||
1 ===
|
||||
optionList?.slice(0, 3)?.length &&
|
||||
!['Pro', 'Plus']?.includes(data?.user?.tier)
|
||||
!['Pro']?.includes(data?.user?.tier)
|
||||
? 'opacity-[0.1]'
|
||||
: ''}"
|
||||
>
|
||||
@ -632,7 +632,7 @@
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<UpgradeToPro {data} />
|
||||
<UpgradeToPro {data} display={true} />
|
||||
{/if}
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import { index, displayCompanyName } from "$lib/store";
|
||||
import { indexTicker, displayCompanyName } from "$lib/store";
|
||||
|
||||
import SEO from "$lib/components/SEO.svelte";
|
||||
import HottestContracts from "$lib/components/Options/HottestContracts.svelte";
|
||||
@ -9,8 +9,8 @@
|
||||
</script>
|
||||
|
||||
<SEO
|
||||
title={`${$displayCompanyName} (${$index}) | Explore the Hottest Options Contracts`}
|
||||
description={`Analyze historical volume, open interest, and trends in option chains for ${$displayCompanyName} (${$index}). Discover actionable insights for trading decisions.`}
|
||||
title={`${$displayCompanyName} (${$indexTicker}) | Explore the Hottest Options Contracts`}
|
||||
description={`Analyze historical volume, open interest, and trends in option chains for ${$displayCompanyName} (${$indexTicker}). Discover actionable insights for trading decisions.`}
|
||||
/>
|
||||
|
||||
<section
|
||||
@ -21,7 +21,7 @@
|
||||
class="w-full relative flex justify-center items-center overflow-hidden"
|
||||
>
|
||||
{#if data?.getData?.volume?.length > 0}
|
||||
<HottestContracts {data} ticker={$index} />
|
||||
<HottestContracts {data} ticker={$indexTicker} />
|
||||
{:else}
|
||||
<div class="sm:pl-7 sm:pb-7 sm:pt-7 w-full m-auto mt-2 sm:mt-0">
|
||||
<div class="mt-2">
|
||||
|
||||
@ -561,7 +561,7 @@
|
||||
class="sm:hover:bg-[#245073]/10 border-b border-gray-800 odd:bg-odd {index +
|
||||
1 ===
|
||||
originalPosTickers?.length &&
|
||||
!['Pro', 'Plus']?.includes(data?.user?.tier)
|
||||
!['Pro']?.includes(data?.user?.tier)
|
||||
? 'opacity-[0.1]'
|
||||
: ''}"
|
||||
>
|
||||
@ -665,7 +665,7 @@
|
||||
class="sm:hover:bg-[#245073]/10 border-b border-gray-800 odd:bg-odd {index +
|
||||
1 ===
|
||||
originalNegTickers?.length &&
|
||||
!['Pro', 'Plus']?.includes(data?.user?.tier)
|
||||
!['Pro']?.includes(data?.user?.tier)
|
||||
? 'opacity-[0.1]'
|
||||
: ''}"
|
||||
>
|
||||
@ -735,7 +735,7 @@
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<UpgradeToPro {data} />
|
||||
<UpgradeToPro {data} display={true} />
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
|
||||
@ -671,7 +671,7 @@
|
||||
class="sm:hover:bg-[#245073]/10 border-b border-gray-800 odd:bg-odd {index +
|
||||
1 ===
|
||||
originalPosTickers?.length &&
|
||||
!['Pro', 'Plus']?.includes(data?.user?.tier)
|
||||
!['Pro']?.includes(data?.user?.tier)
|
||||
? 'opacity-[0.1]'
|
||||
: ''}"
|
||||
>
|
||||
@ -776,7 +776,7 @@
|
||||
class="sm:hover:bg-[#245073]/10 border-b border-gray-800 odd:bg-odd {index +
|
||||
1 ===
|
||||
originalNegTickers?.length &&
|
||||
!['Pro', 'Plus']?.includes(data?.user?.tier)
|
||||
!['Pro']?.includes(data?.user?.tier)
|
||||
? 'opacity-[0.1]'
|
||||
: ''}"
|
||||
>
|
||||
@ -846,7 +846,7 @@
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<UpgradeToPro {data} />
|
||||
<UpgradeToPro {data} display={true} />
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user