fix(segmentation): Use the series description for the segmentation label (#3517)
This commit is contained in:
parent
b0a456a46c
commit
ed44ad7f4b
@ -542,6 +542,7 @@ class SegmentationService extends PubSubService {
|
|||||||
id: segmentationId,
|
id: segmentationId,
|
||||||
displaySetInstanceUID: segDisplaySet.displaySetInstanceUID,
|
displaySetInstanceUID: segDisplaySet.displaySetInstanceUID,
|
||||||
type: representationType,
|
type: representationType,
|
||||||
|
label: segDisplaySet.SeriesDescription,
|
||||||
representationData: {
|
representationData: {
|
||||||
[LABELMAP]: {
|
[LABELMAP]: {
|
||||||
volumeId: segmentationId,
|
volumeId: segmentationId,
|
||||||
@ -789,6 +790,7 @@ class SegmentationService extends PubSubService {
|
|||||||
id: segmentationId,
|
id: segmentationId,
|
||||||
displaySetInstanceUID: rtDisplaySetUID,
|
displaySetInstanceUID: rtDisplaySetUID,
|
||||||
type: representationType,
|
type: representationType,
|
||||||
|
label: rtDisplaySet.SeriesDescription,
|
||||||
representationData: {
|
representationData: {
|
||||||
[CONTOUR]: {
|
[CONTOUR]: {
|
||||||
geometryIds,
|
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" />
|
<div className="flex-grow" />
|
||||||
<span className="text-white ">{segmentCount}</span>
|
<span className="text-white ">{segmentCount}</span>
|
||||||
<div
|
<div
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user