Skip to content

Commit

Permalink
default empty array of subrois
Browse files Browse the repository at this point in the history
  • Loading branch information
birm committed Sep 29, 2023
1 parent 761dc92 commit 8b4b5d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/labeling/labelingAnnotation.js
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ async function loadingData() {
const labelData = await $CAMIC.store.getLabel(labelId).then((d)=>d[0]);


let sublabels = null;
let sublabels = [];
if (labelData.subrois&&Array.isArray(labelData.subrois)) {
sublabels = await $CAMIC.store.findLabelByIds(labelData.subrois).then((d)=>d);
}
Expand Down

0 comments on commit 8b4b5d0

Please sign in to comment.