This commit is contained in:
Ross
2021-01-27 10:41:19 +00:00
parent 1116755212
commit 02d7e772c6
+1 -1
View File
@@ -511,7 +511,7 @@ export function openMainImage(current_question, t, source) {
function loadAnnotation(imageId, annotation) {
const toolStateManager = cornerstoneTools.globalImageIdSpecificToolStateManager;
if (annotation.length < 1) { return }
if (annotation == undefined || annotation.length < 1) { return }
let tool_state_no_id = JSON.parse(annotation);