mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-10-30 16:50:47 +08:00
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:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user