From 26944d53340a69c93cb300a88e4bf0afff882e79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C5=ABdolfs=20O=C5=A1i=C5=86=C5=A1?= Date: Mon, 15 May 2023 16:41:27 +0200 Subject: [PATCH] Keep global tabs selected when viewing individual issue/patch/commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rūdolfs Ošiņš --- src/views/projects/Header.svelte | 8 ++++++-- src/views/projects/SourceBrowsingHeader.svelte | 4 +++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/views/projects/Header.svelte b/src/views/projects/Header.svelte index f9bcce23c..7a4844ef1 100644 --- a/src/views/projects/Header.svelte +++ b/src/views/projects/Header.svelte @@ -73,7 +73,9 @@ revision: undefined, path: undefined, }}> - + {openIssueCount} {pluralize("issue", openIssueCount)} @@ -90,7 +92,9 @@ revision: undefined, path: undefined, }}> - + {openPatchCount} {pluralize("patch", openPatchCount)} diff --git a/src/views/projects/SourceBrowsingHeader.svelte b/src/views/projects/SourceBrowsingHeader.svelte index f33e54df4..fd82d7011 100644 --- a/src/views/projects/SourceBrowsingHeader.svelte +++ b/src/views/projects/SourceBrowsingHeader.svelte @@ -66,7 +66,9 @@ revision: revision, search: undefined, }}> - + {commitCount} {pluralize("commit", commitCount)}