src/frontend/packages/cloud-foundry/src/shared/components/list/list-types/cf-spaces/cf-space-card/cf-space-card.component.ts
Function ngOnInit
has 56 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
ngOnInit() {
this.spaceGuid = this.row.metadata.guid;
this.entityConfig = new ComponentEntityMonitorConfig(this.spaceGuid, cfEntityFactory(spaceEntityType));
this.orgGuid = this.cfOrgService.orgGuid;
this.favorite = this.userFavoriteManager.getFavorite(this.row, spaceEntityType, CF_ENDPOINT_TYPE);