cloudfoundry/stratos

View on GitHub
src/frontend/packages/cloud-foundry/src/shared/components/list/list-types/cf-orgs/cf-org-card/cf-org-card.component.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function ngOnInit has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  ngOnInit() {
    const userRole$ = this.cfEndpointService.currentUser$.pipe(
      switchMap(u => {
        // This is null if the endpoint is disconnected. Probably related to https://github.com/cloudfoundry-incubator/stratos/issues/1727
        if (!u) {

    There are no issues that match your filters.

    Category
    Status