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

This commit is contained in:
Alireza committed 2024-05-24 10:55:30 -04:00
1 parent 8feef28bff
commit 1b290bdaa1
9 files changed
+43 -41

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.`);
}