mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-29 02:00:31 +08:00
co-authored by
mountdisk <mountdisk@icloud.com.>
parent
5fb6b3e43c
commit
900506bf4b
@@ -108,7 +108,7 @@
|
||||
node: baseUrl,
|
||||
patch: patch.id,
|
||||
} as const;
|
||||
// For cleaner URLs, we omit the the revision part when we link to the
|
||||
// For cleaner URLs, we omit the revision part when we link to the
|
||||
// latest revision.
|
||||
const latestRevisionId = patch.revisions[patch.revisions.length - 1].id;
|
||||
const revision = latestRevisionId === revisionId ? undefined : revisionId;
|
||||
|
||||
Reference in New Issue
Block a user