Correction bulk provision without telemetry
This commit is contained in:
parent
9b92f67b34
commit
85a1448b43
@ -937,6 +937,7 @@ export class EntityService {
|
|||||||
);
|
);
|
||||||
observables.push(observable);
|
observables.push(observable);
|
||||||
}
|
}
|
||||||
|
if (observables.length) {
|
||||||
return forkJoin(observables).pipe(
|
return forkJoin(observables).pipe(
|
||||||
map((response) => {
|
map((response) => {
|
||||||
const hasError = response.filter((status) => status === 'error').length > 0;
|
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} {
|
private getStateEntityInfo(filter: EntityAliasFilter, stateParams: StateParams): {entityId: EntityId} {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user