Stopping triggering unsaved changes for temp tools
This commit is contained in:
1 parent
d22f3cbd96
commit
fc0b13fbf3
6 files changed
+18
-6
No files matched your search
+3
-1
@@ -38,5 +38,7 @@ export default function ({ instance, eventData, tool, toolGroupId, toolGroup })
|
||||
Collection.update(measurementId, { $set: measurement });
|
||||
|
||||
// Notify that viewer suffered changes
|
||||
OHIF.measurements.triggerTimepointUnsavedChanges(eventData.toolType);
|
||||
if (tool.toolGroup !== 'temp') {
|
||||
OHIF.measurements.triggerTimepointUnsavedChanges(eventData.toolType);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user