request telemetry from all conditions

if conditions have no criteria (isDefault) then nothing will be requested
This commit is contained in:
David Tsay 2020-03-20 10:16:02 -07:00
parent b38a9ad4ce
commit cbeb25c583

View File

@ -240,9 +240,6 @@ export default class ConditionManager extends EventEmitter {
return this.load().then(() => {
const ladConditionResults = this.conditionClassCollection
.filter((condition, index) => {
return !this.conditionSetDomainObject.configuration.conditionCollection[index].isDefault
})
.map(condition => condition.requestLADConditionResult());
return Promise.all(ladConditionResults)