From 1ee37b7ea9a990fce2600ca4694be50193793d87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C5=ABdolfs=20O=C5=A1i=C5=86=C5=A1?= Date: Thu, 16 Jan 2025 18:55:14 -0600 Subject: [PATCH] Show revision counter in second patch column --- src/components/PatchTeaser.svelte | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/src/components/PatchTeaser.svelte b/src/components/PatchTeaser.svelte index 8292dd2a5..77938dd50 100644 --- a/src/components/PatchTeaser.svelte +++ b/src/components/PatchTeaser.svelte @@ -105,8 +105,8 @@ - {#if !compact} -
+
+ {#if !compact} {#await invoke( "diff_stats", { rid, base: patch.base, head: patch.head }, ) then stats} {/await} @@ -114,11 +114,13 @@ {#each patch.labels as label}
{label}
{/each} - -
- - {patch.revisionCount} -
+ {/if} +
+ + {patch.revisionCount}
- {/if} +