fix: exception in newly added segmentations (#5198)

This commit is contained in:
rodrigobasilio2022 2025-07-11 14:44:22 -03:00 committed by GitHub
parent 8bbf83fb84
commit fd5bcee909
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1765,7 +1765,7 @@ class SegmentationService extends PubSubService {
const { cachedStats } = segments[segmentIndex];
if (!cachedStats) {
if (!cachedStats || !cachedStats?.center || !cachedStats?.namedStats?.center) {
return;
}