- ${this.label}${when(!this.isFetching, () => html` (${this.branches.length})`)}
+ ${this.renderSectionLabel()}
${this.branches.map(
branch => html``,
)}
+ ${when(
+ this.branches.length > 0,
+ () =>
+ this.branches.map(
+ branch => html``,
+ ),
+ () => html`No ${this.label} branches
`,
+ )}
`;
}
diff --git a/src/webviews/apps/plus/home/components/overview.ts b/src/webviews/apps/plus/home/components/overview.ts
index 0545da29d8198..2c8683d38bb12 100644
--- a/src/webviews/apps/plus/home/components/overview.ts
+++ b/src/webviews/apps/plus/home/components/overview.ts
@@ -95,37 +95,32 @@ export class GlOverview extends SignalWatcher(LitElement) {
if (overview == null) return nothing;
const { repository } = overview;
return html`
+