diff --git a/app/packages/looker/src/processOverlays.ts b/app/packages/looker/src/processOverlays.ts index f02ffd6db4..4445f9f608 100644 --- a/app/packages/looker/src/processOverlays.ts +++ b/app/packages/looker/src/processOverlays.ts @@ -35,19 +35,11 @@ const processOverlays = ( // todo: find a better approach / place for this. // for instance, this won't work in detection overlay, where // we might want the bounding boxes but masks might not have been loaded - if ( - overlay instanceof SegmentationOverlay && - overlay.label.mask_path && - !overlay.label.mask - ) { + if (overlay instanceof SegmentationOverlay && !overlay.label.mask) { continue; } - if ( - overlay instanceof HeatmapOverlay && - overlay.label.map_path && - !overlay.label.map - ) { + if (overlay instanceof HeatmapOverlay && !overlay.label.map) { continue; }