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 a5ff701 commit ee8b99cCopy full SHA for ee8b99c
src/app/components/elements/layout/SidebarLayout.tsx
@@ -488,7 +488,7 @@ export const GenericConceptsSidebar = (props: GenericConceptsSidebarProps) => {
488
/>
489
{isSelected && <div className="ms-3 ps-2">
490
{descendentTags
491
- .filter(tag => !isDefined(tagCounts) || tagCounts[tag.id] > 0)
+ .filter(tag => !isDefined(tagCounts) || tagCounts[tag.id] > 0 || conceptFilters.includes(tag))
492
// .sort((a, b) => tagCounts ? tagCounts[b.id] - tagCounts[a.id] : 0)
493
.map((tag, j) => <FilterCheckbox key={j}
494
checkboxStyle="button" color="theme" bsSize="sm" data-bs-theme={subject} tag={tag} conceptFilters={conceptFilters}
0 commit comments