src/frontend/packages/cloud-foundry/src/shared/components/add-service-instance/add-service-instance/add-service-instance.component.ts
Function configureForEditServiceInstanceMode
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private configureForEditServiceInstanceMode() {
const { endpointId, serviceInstanceId } = this.activatedRoute.snapshot.params;
if (this.serviceType === this.serviceTypes.USER_SERVICE) {
this.serviceInstanceId = serviceInstanceId;
this.title$ = observableOf('Edit User Provided Service Instance');
Function ngAfterContentInit
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
ngAfterContentInit(): void {
// Check if wizard has been initiated from the Services Marketplace
if (this.inMarketplaceMode) {
this.initialisedService$ = this.initialiseForMarketplaceMode();
}