Correction bulk provision without telemetry

This commit is contained in:
Vladyslav_Prykhodko 2020-08-10 12:27:28 +03:00
parent 9b92f67b34
commit 85a1448b43

View File

@ -937,6 +937,7 @@ export class EntityService {
);
observables.push(observable);
}
if (observables.length) {
return forkJoin(observables).pipe(
map((response) => {
const hasError = response.filter((status) => status === 'error').length > 0;
@ -947,6 +948,9 @@ export class EntityService {
}
})
);
} else {
return of(null);
}
}
private getStateEntityInfo(filter: EntityAliasFilter, stateParams: StateParams): {entityId: EntityId} {