fix: enhance preview accept method (#5199)
This commit is contained in:
1 parent
df926e2513
commit
540923ad8b
11 files changed
+125
-122
No files matched your search
@@ -58,7 +58,10 @@ const getLabelmapTools = ({ toolGroupService }) => {
|
||||
// tools is an object with toolName as the key and tool as the value
|
||||
Object.keys(tools).forEach(toolName => {
|
||||
const tool = tools[toolName];
|
||||
if (tool instanceof cornerstoneTools.LabelmapBaseTool) {
|
||||
if (
|
||||
tool instanceof cornerstoneTools.LabelmapBaseTool &&
|
||||
tool.shouldResolvePreviewRequests()
|
||||
) {
|
||||
labelmapTools.push(tool);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user