fix(segmentation): Use the series description for the segmentation label (#3517)

This commit is contained in:
Joe Boccanfuso authored and GitHub committed 2023-07-04 14:39:39 -04:00
1 parent b0a456a46c
commit ed44ad7f4b
2 files changed
+5 -1

No files matched your search

@@ -542,6 +542,7 @@ class SegmentationService extends PubSubService {
id: segmentationId,
displaySetInstanceUID: segDisplaySet.displaySetInstanceUID,
type: representationType,
label: segDisplaySet.SeriesDescription,
representationData: {
[LABELMAP]: {
volumeId: segmentationId,
@@ -789,6 +790,7 @@ class SegmentationService extends PubSubService {
id: segmentationId,
displaySetInstanceUID: rtDisplaySetUID,
type: representationType,
label: rtDisplaySet.SeriesDescription,
representationData: {
[CONTOUR]: {
geometryIds,
@@ -82,7 +82,9 @@ const SegmentGroupHeader = ({
}
)}
/>
<span className="text-white ">{label.toUpperCase()}</span>
<span className="text-white w-full whitespace-nowrap text-ellipsis overflow-hidden">
{label.toUpperCase()}
</span>
<div className="flex-grow" />
<span className="text-white ">{segmentCount}</span>
<div