diff --git a/src/components/Comment.svelte b/src/components/Comment.svelte index b0d6eebc0..8b01de3e1 100644 --- a/src/components/Comment.svelte +++ b/src/components/Comment.svelte @@ -128,7 +128,12 @@ {#if lastEdit}
- {/if} diff --git a/src/views/projects/Patch.svelte b/src/views/projects/Patch.svelte index 4f1812f87..3fe3e4d1c 100644 --- a/src/views/projects/Patch.svelte +++ b/src/views/projects/Patch.svelte @@ -96,7 +96,6 @@ ["Archive patch", { status: "archived" }], ["Convert to draft", { status: "draft" }], ]; - const latestEdit = patch.revisions[0].edits.pop(); async function editPatch(sessionId: string, title: string) { try { @@ -542,6 +541,7 @@ "content", ); $: description = patch.revisions[0].description; + $: lastEdit = patch.revisions[0].edits.at(-1); $: newDescription = description; $: patchReviews = computeReviews(patch); $: selectedItem = patch.state.status === "open" ? items[1] : items[0]; @@ -677,6 +677,10 @@ flex-direction: column; gap: 0.5rem; } + .author-metadata { + color: var(--color-fill-gray); + font-size: var(--font-size-small); + } .review { color: var(--color-fill-gray); display: inline-flex; @@ -764,11 +768,11 @@