mirror of
https://github.com/nasa/openmct.git
synced 2025-01-20 03:36:44 +00:00
provide correct data to getLatestTimestamp call
This commit is contained in:
parent
4a5e106709
commit
24bade2284
@ -211,7 +211,7 @@ export default class ConditionClass extends EventEmitter {
|
||||
.then(results => {
|
||||
results.forEach(result => {
|
||||
this.updateCriteriaResults(result);
|
||||
this.latestTimestamp = this.getLatestTimestamp(this.latestTimestamp, result)
|
||||
this.latestTimestamp = this.getLatestTimestamp(this.latestTimestamp, result.data)
|
||||
});
|
||||
this.evaluate();
|
||||
|
||||
@ -264,7 +264,6 @@ export default class ConditionClass extends EventEmitter {
|
||||
timestamp[timeSystem.key] = compare[timeSystem.key];
|
||||
}
|
||||
});
|
||||
|
||||
return timestamp;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user