Fix bug in commit listing order

Since this mutated the array it would reverse the order when switching
between patches, since we don't destroy the array.
This commit is contained in:
Rūdolfs Ošiņš
2025-07-29 16:16:56 +02:00
parent ef7736a8b0
commit 8632ea90fa
+1 -1
View File
@@ -175,7 +175,7 @@
<div class="global-counter">Base</div>
</div>
<div class="commits">
{#each commits.reverse() as commit}
{#each [...commits].reverse() as commit}
<div
class="commit"
class:single-commit={commits.length === 1}