Skip to content

Commit

Permalink
fix: latest pulls being sorted wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
maalni committed Mar 4, 2024
1 parent fed7c10 commit 0f55086
Showing 1 changed file with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,17 @@
</div>
</div>
</div>

<div class="flex flex-col gap-2">
<Text type="h4">Latest 5* pulls</Text>
<div class="flex flex-wrap gap-2">
{#each filterFiveStars() as pull}
<PullChip name={pull.name} key={pull.key} counter={pull.pity} />
{/each}
{#if filterFiveStars().length > 0}
{#each filterFiveStars() as pull}
<PullChip name={pull.name} key={pull.key} counter={pull.pity} />
{/each}
{:else}
You haven't pulled a 5* in this banner yet
{/if}
</div>
</div>
</div>

0 comments on commit 0f55086

Please sign in to comment.