fix: exception in newly added segmentations (#5198)
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user