mirror of
https://github.com/nasa/openmct.git
synced 2024-12-20 13:43:09 +00:00
exclude default condition when requesting telemetry
This commit is contained in:
parent
ecf3e19f16
commit
b38a9ad4ce
@ -240,7 +240,9 @@ export default class ConditionManager extends EventEmitter {
|
||||
|
||||
return this.load().then(() => {
|
||||
const ladConditionResults = this.conditionClassCollection
|
||||
.filter(condition => !condition.isDefault)
|
||||
.filter((condition, index) => {
|
||||
return !this.conditionSetDomainObject.configuration.conditionCollection[index].isDefault
|
||||
})
|
||||
.map(condition => condition.requestLADConditionResult());
|
||||
|
||||
return Promise.all(ladConditionResults)
|
||||
|
Loading…
Reference in New Issue
Block a user