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