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
@@ -60,10 +60,7 @@ OHIF.measurements.toggleLabelButton = options => {
|
||||
options.measurement.description = description;
|
||||
|
||||
// Notify that viewer suffered changes
|
||||
const { timepointId } = measurement;
|
||||
const basePath = 'viewer.studyViewer.measurements';
|
||||
const timepointPath = timepointId ? `.${timepointId}` : '';
|
||||
OHIF.ui.unsavedChanges.set(`${basePath}${timepointPath}.renamed`);
|
||||
OHIF.measurements.triggerTimepointUnsavedChanges('renamed');
|
||||
}
|
||||
};
|
||||
buttonView = Blaze.renderWithData(Template.measureFlow, data, document.body);
|
||||
|
||||
Reference in new issue
Block a user