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,
|
||||
|
||||
Reference in new issue
Block a user