feat: Group findings table values with custom components/grouping functions (#4712)

This commit is contained in:
Bill Wallace authored and GitHub committed 2025-03-20 09:22:45 -04:00
1 parent 0522d58d9b
commit df8efba82c
48 files changed
+1256 -631

No files matched your search

@@ -31,7 +31,7 @@ class LabellingFlow extends Component<PropType> {
constructor(props) {
super(props);
const { label } = props.measurementData;
const label = props.measurementData?.label;
const className = props.componentClassName;
this.state = {
@@ -33,8 +33,13 @@ const MeasurementTable = ({
return (
<div>
<div className="bg-secondary-main flex justify-between px-2 py-1">
<span className="text-base font-bold uppercase tracking-widest text-white">{t(title)}</span>
<span className="text-base font-bold text-white">{amount}</span>
<div>
<span className="text-base font-bold uppercase tracking-widest text-white">
{t(title)}
</span>
<span className="text-base font-bold text-white">&nbsp; {amount}</span>
</div>
<CustomizedToolbar servicesManager={servicesManager} />
</div>
<div className="ohif-scrollbar max-h-112 overflow-hidden">
{data.length !== 0 &&