Skip to content

Commit a5ff701

Browse files
committed
Always show checkbox for selected stage(s)
1 parent 29154e3 commit a5ff701

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/components/elements/layout/SidebarLayout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ export const GenericConceptsSidebar = (props: GenericConceptsSidebarProps) => {
501501
<div className="section-divider"/>
502502
<h5>Filter by stage</h5>
503503
<ul className="ps-2">
504-
{getFilteredStageOptions().filter(s => stageCounts[s.value] > 0).map((stage) =>
504+
{getFilteredStageOptions().filter(s => stageCounts[s.value] > 0 || searchStages.includes(s.value)).map((stage) =>
505505
<li key={stage.value}>
506506
<StyledCheckbox checked={searchStages.includes(stage.value)}
507507
label={<>{stage.label} <span className="text-muted">({stageCounts[stage.value]})</span></>}

0 commit comments

Comments
 (0)