bugfixing
This commit is contained in:
parent
e3c187d709
commit
1e29257c98
@ -464,7 +464,10 @@
|
||||
$: {
|
||||
if (selectedSector) {
|
||||
originalTopTickers = [...topSectorTickers[selectedSector]];
|
||||
displayTopTickers = topSectorTickers[selectedSector];
|
||||
displayTopTickers =
|
||||
data?.user?.tier === "Pro"
|
||||
? displayTopTickers
|
||||
: displayTopTickers?.slice(0, 3);
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@ -579,7 +582,6 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
{#each displayTopTickers as item, index}
|
||||
{#if index < 3}
|
||||
<tr
|
||||
class="sm:hover:bg-[#245073] border-b border-gray-800 sm:hover:bg-opacity-[0.2] odd:bg-odd {index +
|
||||
1 ===
|
||||
@ -663,7 +665,6 @@
|
||||
{item?.ivRank}
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
{/each}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
@ -485,6 +485,10 @@
|
||||
if (selectedSector) {
|
||||
originalTopTickers = [...topSectorTickers[selectedSector]];
|
||||
displayTopTickers = topSectorTickers[selectedSector];
|
||||
displayTopTickers =
|
||||
data?.user?.tier === "Pro"
|
||||
? displayTopTickers
|
||||
: displayTopTickers?.slice(0, 3);
|
||||
marketTideData =
|
||||
data?.getData?.marketTide[sectorDict[selectedSector]] || {};
|
||||
optionsData = marketTideData ? getPlotOptions() : null;
|
||||
@ -656,7 +660,6 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
{#each displayTopTickers as item, index}
|
||||
{#if index < 3}
|
||||
<tr
|
||||
class="sm:hover:bg-[#245073] border-b border-gray-800 sm:hover:bg-opacity-[0.2] odd:bg-odd {index +
|
||||
1 ===
|
||||
@ -740,7 +743,6 @@
|
||||
{item?.ivRank}
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
{/each}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user