Adding separate save buttons for measurements
This commit is contained in:
1 parent
5dc2f8dc9c
commit
7da787c3f8
16 files changed
+72
-114
No files matched your search
+2
-5
@@ -37,9 +37,6 @@ export default function ({ instance, eventData, tool, toolGroupId, toolGroup })
|
||||
// Update the measurement in the collection
|
||||
Collection.update(measurementId, { $set: measurement });
|
||||
|
||||
// Signal unsaved changes
|
||||
const { timepointId } = Collection.findOne(measurementData._id);
|
||||
const basePath = 'viewer.studyViewer.measurements';
|
||||
const timepointPath = timepointId ? `.${timepointId}` : '';
|
||||
OHIF.ui.unsavedChanges.set(`${basePath}${timepointPath}.${eventData.toolType}`);
|
||||
// Notify that viewer suffered changes
|
||||
OHIF.measurements.triggerTimepointUnsavedChanges(eventData.toolType);
|
||||
}
|
||||
Reference in new issue
Block a user