mirror of
https://github.com/nasa/openmct.git
synced 2025-05-11 21:13:02 +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 => {
|
.then(results => {
|
||||||
results.forEach(result => {
|
results.forEach(result => {
|
||||||
this.updateCriteriaResults(result);
|
this.updateCriteriaResults(result);
|
||||||
this.latestTimestamp = this.getLatestTimestamp(this.latestTimestamp, result)
|
this.latestTimestamp = this.getLatestTimestamp(this.latestTimestamp, result.data)
|
||||||
});
|
});
|
||||||
this.evaluate();
|
this.evaluate();
|
||||||
|
|
||||||
@ -264,7 +264,6 @@ export default class ConditionClass extends EventEmitter {
|
|||||||
timestamp[timeSystem.key] = compare[timeSystem.key];
|
timestamp[timeSystem.key] = compare[timeSystem.key];
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
return timestamp;
|
return timestamp;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user