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:
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) {
|
||||
|
||||
Reference in new issue
Block a user