.
This commit is contained in:
@@ -178,7 +178,7 @@ function loadDicomViewer(images_to_load, annotations_to_load) {
|
||||
console.log(images);
|
||||
|
||||
let annotations = single_dicom.dataset.annotations;
|
||||
if (annotations != undefined) {
|
||||
if (annotations_to_load != undefined) {
|
||||
annotations = annotations_to_load;
|
||||
} else if (annotations && annotations.indexOf(",") > 0) {
|
||||
annotations = JSON.parse(annotations);
|
||||
|
||||
Reference in New Issue
Block a user