Skip to content

Commit 22731fd

Browse files
author
Irfan Habib
authored
Remove unneccessary operation
1 parent a07a67e commit 22731fd

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/frontend/app/features/cloud-foundry/services/cloud-foundry-endpoint.service.ts

-3
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,6 @@ export class CloudFoundryEndpointService {
140140

141141
this.allApps$ = this.orgs$.pipe(
142142
map(orgs => [].concat(...orgs.map(org => org.entity.spaces))),
143-
switchMap((spaces: APIResource<ISpace>[]) =>
144-
combineLatest(spaces.map(space => this.store.select(selectEntity(spaceSchemaKey, space.metadata.guid))))
145-
),
146143
map((spaces: APIResource<ISpace>[]) => [].concat(...spaces.map(space => space.entity.apps)))
147144
);
148145

0 commit comments

Comments
 (0)