fix: exception in newly added segmentations (#5198)

This commit is contained in:
rodrigobasilio2022 authored and GitHub committed 2025-07-11 13:44:22 -04:00
1 parent 8bbf83fb84
commit fd5bcee909
1 file changed
+1 -1
@@ -1765,7 +1765,7 @@ class SegmentationService extends PubSubService {
const { cachedStats } = segments[segmentIndex];
if (!cachedStats) {
if (!cachedStats || !cachedStats?.center || !cachedStats?.namedStats?.center) {
return;
}