Skip to content

Commit

Permalink
structure annots better
Browse files Browse the repository at this point in the history
  • Loading branch information
birm committed Oct 2, 2023
1 parent 180397c commit 28d5f41
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions apps/labeling/labelReview.html
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,9 @@ <h5 class="modal-title" style="font-size: 1.5rem;">Modal title</h5>
<div id="label_review">
<b>Double click a roi to get its details.</b>
</div>
<hr>
<b>Annotations:</b>
<hr>
<div id="annot_review"></div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion apps/labeling/labelReview.js
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,7 @@ function getLabelInfo(e) {
// render relevant annotations
for (let label of matched_labels){
$CAMIC.store.findLabelingAnnotation({'creator': $USER, 'parent': label._id.$oid}).then(x=>{
document.getElementById('annot_review').innerHTML += x.map(labelAnnotToHtml).join('<br/><hr/><br/>');
document.getElementById('annot_review').innerHTML += x.map(labelAnnotToHtml).join('<br/><hr><br/>');
});
}
}

0 comments on commit 28d5f41

Please sign in to comment.