Skip to content

Commit 11e460c

Browse files
committed
fix: correct off-by-one error in platform badge conditional rendering
1 parent 82cc38d commit 11e460c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lib/components/archiveProject.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@
257257
</Badge>
258258
{/each}
259259

260-
{#if platforms.length > 3}
260+
{#if platforms.length > 2}
261261
<Badge
262262
variant="secondary"
263263
content={`+${platforms.length - 2}`}

0 commit comments

Comments
 (0)