mirror of https://github.com/apache/nifi.git
[NIFI-12990] close enable/disable CS dialog when go to is clicked (#8690)
* [NIFI-12990] close enable/disable CS dialog when go to is clicked * review feedback addressed This closes #8690
This commit is contained in:
parent
562eece6e3
commit
7995358046
|
@ -404,6 +404,8 @@ export class ManagementControllerServicesEffects {
|
|||
enableDialogReference.componentInstance.goToReferencingComponent = (
|
||||
component: ControllerServiceReferencingComponent
|
||||
) => {
|
||||
enableDialogReference.close('ROUTED');
|
||||
|
||||
const route: string[] = this.getRouteForReference(component);
|
||||
this.router.navigate(route);
|
||||
};
|
||||
|
@ -435,6 +437,8 @@ export class ManagementControllerServicesEffects {
|
|||
enableDialogReference.componentInstance.goToReferencingComponent = (
|
||||
component: ControllerServiceReferencingComponent
|
||||
) => {
|
||||
enableDialogReference.close('ROUTED');
|
||||
|
||||
const route: string[] = this.getRouteForReference(component);
|
||||
this.router.navigate(route);
|
||||
};
|
||||
|
|
|
@ -135,11 +135,9 @@
|
|||
} @else {
|
||||
<div [ngClass]="getServiceStateIcon(service.component)"></div>
|
||||
}
|
||||
<a
|
||||
(click)="goToReferencingComponentClicked($event, service.component)"
|
||||
mat-dialog-close="ROUTED"
|
||||
>{{ service.component.name }}</a
|
||||
>
|
||||
<a (click)="goToReferencingComponentClicked($event, service.component)">{{
|
||||
service.component.name
|
||||
}}</a>
|
||||
@if (hasBulletins(service)) {
|
||||
<div
|
||||
class="pointer fa fa-sticky-note-o primary-color"
|
||||
|
|
Loading…
Reference in New Issue