This commit is contained in:
Ross
2021-08-20 09:45:21 +01:00
parent c4f42b6a75
commit 04657ca86c
2 changed files with 1 additions and 5 deletions
+1 -1
View File
@@ -183,7 +183,7 @@ export function loadCornerstone(main_element, db, images, annotations_to_load, l
console.log("loadAnnotations", imageId, annotations);
const toolStateManager = cornerstoneTools.globalImageIdSpecificToolStateManager;
if (annotation == undefined || annotation.length < 1) { return }
if (annotation == undefined || annotation.length < 1 || annotation == [undefined]) { return }
console.log(annotation);
let tool_state_no_id = JSON.parse(annotation);