This commit is contained in:
Ross
2021-09-25 19:30:45 +01:00
parent c0d053f898
commit bbc8258cea
3 changed files with 9 additions and 3 deletions
+4 -1
View File
@@ -172,8 +172,11 @@ function loadDicomViewer(images_to_load, annotations_to_load) {
if (images_to_load != undefined) {
images = images_to_load;
//} else if (images.indexOf(",") > 0) {
} else {
} else if (images != undefined) {
images = JSON.parse(images);
} else {
// No images to load
return
}
console.log(images);