mirror of https://github.com/apache/nifi.git
[NIFI-13918][NIFI-14015] - Flow analysis unauthorized root group does not display group id in the PG details section (#9529)
This commit is contained in:
parent
461fdd9f6f
commit
b623ccc7fe
|
@ -107,7 +107,11 @@ export class FlowAnalysisDrawerComponent {
|
||||||
.select(selectBreadcrumbs)
|
.select(selectBreadcrumbs)
|
||||||
.pipe(takeUntilDestroyed())
|
.pipe(takeUntilDestroyed())
|
||||||
.subscribe((breadcrumbs: BreadcrumbEntity) => {
|
.subscribe((breadcrumbs: BreadcrumbEntity) => {
|
||||||
this.processGroupName = breadcrumbs.breadcrumb.name;
|
if (breadcrumbs.permissions.canRead && breadcrumbs.breadcrumb) {
|
||||||
|
this.processGroupName = breadcrumbs.breadcrumb.name;
|
||||||
|
} else {
|
||||||
|
this.processGroupName = this.currentProcessGroupId;
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue