From 761dc9282fe7aa0cc74bd5f4d71a556f7f594076 Mon Sep 17 00:00:00 2001 From: Birm Date: Fri, 29 Sep 2023 11:13:26 -0400 Subject: [PATCH] default no subrois --- apps/labeling/labelingAnnotation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/labeling/labelingAnnotation.js b/apps/labeling/labelingAnnotation.js index 3c7181b75..0c57950bf 100644 --- a/apps/labeling/labelingAnnotation.js +++ b/apps/labeling/labelingAnnotation.js @@ -163,7 +163,7 @@ async function initialize() { Loading.open(document.body, 'Loading Labels Data...'); const ROIdata = await loadingData(); $D.ROI = ROIdata.ROI; - $D.subROIs = ROIdata.subROIs; + $D.subROIs = ROIdata.subROIs || []; } catch (e) { // statements redirect($D.pages.table, e, 0);