fix: seg preview (#5338)

This commit is contained in:
Pedro Köhler authored and GitHub committed 2025-08-28 12:11:03 -04:00
1 parent e0f7b5b5db
commit d91cc230e5
1 file changed
+1 -4
+1 -4
View File
@@ -60,10 +60,7 @@ 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 &&
tool.shouldResolvePreviewRequests()
) {
if (tool instanceof cornerstoneTools.LabelmapBaseTool) {
labelmapTools.push(tool);
}
});