LT-275: Work towards proper measurement / tooldata syncing
This commit is contained in:
1 parent
ec6f96e714
commit
9aa7cf012f
15 files changed
+164
-165
No files matched your search
@@ -37,9 +37,9 @@ Meteor.methods({
|
||||
});
|
||||
},
|
||||
|
||||
retrieveTimepoints(filter = {}) {
|
||||
retrieveTimepoints(filter) {
|
||||
OHIF.log.info('Retrieving Timepoints from the Server');
|
||||
return Timepoints.find(filter).fetch();
|
||||
return Timepoints.find(filter || {}).fetch();
|
||||
},
|
||||
|
||||
storeMeasurements(measurementData) {
|
||||
@@ -66,7 +66,7 @@ Meteor.methods({
|
||||
|
||||
|
||||
measurementTools.forEach(tool => {
|
||||
measurementData[tool.id] = MeasurementCollections[tool.id].find(filter).fetch();
|
||||
measurementData[tool.id] = MeasurementCollections[tool.id].find(filter || {}).fetch();
|
||||
});
|
||||
|
||||
return measurementData;
|
||||
|
||||
Reference in new issue
Block a user