From eaef44b0aaa0f237cef04bba7a7ed283f7a8687f Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Mon, 22 Aug 2022 03:38:50 -0400 Subject: [PATCH] Shows ... while autolinks are loading --- src/webviews/apps/commitDetails/commitDetails.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webviews/apps/commitDetails/commitDetails.ts b/src/webviews/apps/commitDetails/commitDetails.ts index 31b8c94..3a7d019 100644 --- a/src/webviews/apps/commitDetails/commitDetails.ts +++ b/src/webviews/apps/commitDetails/commitDetails.ts @@ -455,7 +455,7 @@ export class CommitDetailsApp extends App> { if ($count == null) return; const count = (state.pullRequest != null ? 1 : 0) + (state.autolinkedIssues?.length ?? 0); - $count.innerHTML = `${count} found`; + $count.innerHTML = state.includeRichContent ? `${count} found` : '…'; } renderPullRequest(state: CommitState) {