Fixing issues with locations onModified event
This commit is contained in:
1 parent
60a001043b
commit
a742c8036d
5 files changed
+17
-7
No files matched your search
@@ -112,6 +112,9 @@ Template.dialogNonTargetMeasurement.onRendered(() => {
|
||||
|
||||
// Update the location and response after confirming the dialog data
|
||||
instance.data.promise.then(formData => {
|
||||
measurementData.response = formData.response;
|
||||
measurementData.location = formData.location;
|
||||
|
||||
// Update the response for current measurement
|
||||
collection.update({
|
||||
_id: measurementData._id,
|
||||
|
||||
+1
-2
@@ -21,8 +21,7 @@ Template.measurementLocationDialog.onCreated(() => {
|
||||
|
||||
OHIF.measurements.toggleLabelButton({
|
||||
instance,
|
||||
measurementId: measurementData._id,
|
||||
toolType: measurementData.toolType,
|
||||
measurement: measurementData,
|
||||
element: eventData.element,
|
||||
measurementApi,
|
||||
position: position,
|
||||
|
||||
Reference in new issue
Block a user