Fix/duplicate redundant log measurement mapping (#5760)

* Remove all but one log message for mappings.

* fix: NPE when no segmentations list returned.
This commit is contained in:
Bill Wallace authored and GitHub committed 2026-01-30 11:16:37 -05:00
1 parent a4c99e6926
commit 5807889f79
2 files changed
+7 -2

No files matched your search

@@ -129,7 +129,7 @@ const CornerstoneViewportDownloadForm = ({
downloadViewport.setVolumes([{ volumeId: volumeIds[0] }]);
}
if (segmentationRepresentations.length > 0) {
if (segmentationRepresentations?.length) {
segmentationRepresentations.forEach(segRepresentation => {
const { segmentationId, colorLUTIndex, type } = segRepresentation;
if (type === Enums.SegmentationRepresentations.Labelmap) {