Enable Controller Service

@if ((controllerService$ | async)!; as controllerService) { @if ((enableRequest$ | async)!; as enableRequest) {
@if (enableRequest.currentStep === SetEnableStep.Pending) {
Service
{{ controllerService.component.name }}
Scope @for (option of controllerServiceActionScopes; track option) { {{ option.text }} }
Referencing Components
} @else {
Service
{{ controllerService.component.name }}
Steps To Enable {{ controllerService.component.name }}
Enabling this controller service
@if ( enableRequest.error && enableRequest.error.step == SetEnableStep.EnableService ) {
{{ enableRequest.error.error }}
} @if (enableRequest.scope === 'SERVICE_AND_REFERENCING_COMPONENTS') {
Enable referencing controller services
@if ( enableRequest.error && enableRequest.error.step == SetEnableStep.EnableReferencingServices ) {
{{ enableRequest.error.error }}
}
Starting referencing processors and reporting tasks
@if ( enableRequest.error && enableRequest.error.step == SetEnableStep.StartReferencingComponents ) {
{{ enableRequest.error.error }}
} }
Referencing Components
@if (enableRequest.currentStep === SetEnableStep.Completed || enableRequest.error) { } @else { } }
} }