Skip to content

Commit

Permalink
(refactor) O3-4108 Remove test counts of lab results on lab tests pan…
Browse files Browse the repository at this point in the history
…el (#2082)
  • Loading branch information
CynthiaKamau authored Oct 30, 2024
1 parent f9a6f9f commit b646ca0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ const FilterNodeParent = ({ root, itemNumber }: filterNodeParentProps) => {
<Button
className={styles.button}
kind="ghost"
size="sm"
size={tablet ? 'md' : 'sm'}
onClick={() => setExpandAll((prevValue) => !prevValue)}
>
<span>{t(!expandAll ? `Expand all` : `Collapse all`)}</span>
Expand All @@ -112,7 +112,7 @@ const FilterNode = ({ root, level, open }: FilterNodeProps) => {
id={root?.flatName}
checked={root.hasData && allChildrenChecked}
indeterminate={indeterminate}
labelText={`${root?.display} (${parents?.[root?.flatName]?.length ?? 0})`}
labelText={root?.display}
onChange={() => updateParent(root.flatName)}
disabled={!root.hasData}
/>
Expand Down

0 comments on commit b646ca0

Please sign in to comment.