-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: group measurements by study #4617
base: feat/measurements-service-filtering
Are you sure you want to change the base?
feat: group measurements by study #4617
Conversation
…ts-service-filtering
…ts-service-filtering
✅ Deploy Preview for ohif-platform-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for ohif-dev ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
…/Viewers into feat/measurements-service-filtering
const oldValues = groupedMeasurements.get(key); | ||
oldValues.push(item); | ||
return groupedMeasurements; | ||
}, new Map()) as Map<string, object[]>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cant you do new Map<string,object[]> to get the typing right?
{Array.from(measurements).map(([key, value]) => { | ||
return ( | ||
<MeasurementTable | ||
key={`tracked-${key}`} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This isn't necessarily tracked on this version of it, so you shouldn't be referencing tracked here, but should just get something passed in from the parent about what you are naming this.
Context
Building on top of: #4501
Changes & Results
These changes group the measurements of the all-measurements tab by study.
Testing
Checklist
PR
semantic-release format and guidelines.
Code
etc.)
Public Documentation Updates
additions or removals.
Tested Environment