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
+1
-4
@@ -94,10 +94,7 @@ Template.measurementTableRow.events({
|
||||
_.each($('.imageViewerViewport'), element => cornerstone.updateImage(element));
|
||||
|
||||
// Notify that viewer suffered changes
|
||||
const { timepointId } = measurement;
|
||||
const basePath = 'viewer.studyViewer.measurements';
|
||||
const timepointPath = timepointId ? `.${timepointId}` : '';
|
||||
OHIF.ui.unsavedChanges.set(`${basePath}${timepointPath}.deleted`);
|
||||
OHIF.measurements.triggerTimepointUnsavedChanges('deleted');
|
||||
});
|
||||
}
|
||||
});
|
||||
Reference in new issue
Block a user