- {median == null - ? "No peer data" - : format - ? `Cohort median: ${formatMetricValue(median, format, unit || null)}` - : `Dept median: ${Math.round(median * 10) / 10}${unitSuffix(unit)}`} + {median != null + ? `Dept median: ${Math.round(median * 10) / 10}${unit ?? ""}` + : "No peer data"}
{PEER_LABEL[focused]} @@ -761,22 +636,13 @@ function HeatmapCell({ function MemberRow({ row, focusMode, - bulletStats, - byMetricKey, - expanded, - onToggleExpand, onOpenSheet, }: { row: RowShape; focusMode: FocusMode; - bulletStats: DeptStatsMap; - byMetricKey: CatalogByKey; - expanded: boolean; - onToggleExpand: () => void; onOpenSheet: () => void; }) { - const { member, cells, belowCount, topCount, worstMetricLabel, bullets, orgUnitId } = - row; + const { member, cells, belowCount, topCount, worstMetricLabel } = row; const issueText = belowCount > 0 ? `${belowCount} issue${belowCount === 1 ? "" : "s"}` @@ -791,7 +657,6 @@ function MemberRow({ @@ -808,11 +673,19 @@ function MemberRow({ {belowCount} below department peers · {topCount} in top
- All metrics -
-