We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8e4cea commit 306ce04Copy full SHA for 306ce04
src/webviews/apps/plus/home/components/overview.ts
@@ -116,12 +116,16 @@ export class GlOverview extends SignalWatcher(LitElement) {
116
.value=${this._overviewState.filter.recent?.threshold}
117
></gl-branch-threshold-filter>
118
</gl-branch-section>
119
- <gl-branch-section
120
- label="Stale"
121
- ?hidden=${this._overviewState.filter.stale?.show !== true}
122
- .repo=${repository.path}
123
- .branches=${repository.branches.stale}
124
- ></gl-branch-section>
+ ${when(
+ this._overviewState.filter.stale?.show === true,
+ () => html`
+ <gl-branch-section
+ label="Stale"
+ .repo=${repository.path}
125
+ .branches=${repository.branches.stale}
126
+ ></gl-branch-section>
127
+ `,
128
+ )}
129
`;
130
}
131
0 commit comments