Improving "Add/Edit Description" workflow
This commit is contained in:
1 parent
d486ebd551
commit
3bd44fd7bc
12 files changed
+69
-19
No files matched your search
@@ -14,7 +14,8 @@ function activateTool(measurementData) {
|
||||
const imageId = OHIF.viewerbase.getImageIdForImagePath(measurementData.imagePath);
|
||||
const toolState = cornerstoneTools.globalImageIdSpecificToolStateManager.saveToolState();
|
||||
|
||||
const toolData = toolState[imageId][toolType];
|
||||
const imageToolState = toolState[imageId];
|
||||
const toolData = imageToolState && imageToolState[toolType];
|
||||
if (!toolData || !toolData.data || !toolData.data.length) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user