fix(segmentation): Address issue where segmentation creation failed on layout change (#4153)

This commit is contained in:
Alireza authored and GitHub committed 2024-05-21 16:43:47 -04:00
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.`);
}