fix(segmentation): Address issue where segmentation creation failed on layout change (#4153)
This commit is contained in:
1 parent
3ea60c3044
commit
29944c8512
9 files changed
+47
-78
No files matched your search
@@ -1015,6 +1015,8 @@ class SegmentationService extends PubSubService {
|
||||
): Promise<void> => {
|
||||
const segmentation = this.getSegmentation(segmentationId);
|
||||
|
||||
toolGroupId = toolGroupId || this._getApplicableToolGroupId();
|
||||
|
||||
if (!segmentation) {
|
||||
throw new Error(`Segmentation with segmentationId ${segmentationId} not found.`);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user