This commit is contained in:
Ross
2021-08-20 10:26:58 +01:00
parent ad3094851d
commit 01c98cd2e1
12 changed files with 176 additions and 97 deletions
+1 -1
View File
@@ -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);