From 901e2255a22bccd80dbfe577a419d3303a9be07d Mon Sep 17 00:00:00 2001 From: estib Date: Fri, 13 Sep 2024 09:42:12 +0200 Subject: [PATCH] Only show either the divergence warning or upstream count --- apps/desktop/src/lib/navigation/TargetCard.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/desktop/src/lib/navigation/TargetCard.svelte b/apps/desktop/src/lib/navigation/TargetCard.svelte index cbfc09b4f5..0c1e25eae2 100644 --- a/apps/desktop/src/lib/navigation/TargetCard.svelte +++ b/apps/desktop/src/lib/navigation/TargetCard.svelte @@ -43,12 +43,11 @@ Target - {#if ($base?.behind || 0) > 0} + {#if ($base?.behind || 0) > 0 && !baseBranchDiverged} {/if} - {#if baseBranchDiverged}
@@ -56,6 +55,7 @@
{/if} +
{#if $base?.remoteUrl.includes('github.com')}