[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:
Rob Fellows 2024-11-15 15:09:53 -05:00 committed by GitHub
parent 461fdd9f6f
commit b623ccc7fe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 1 deletions

View File

@ -107,7 +107,11 @@ export class FlowAnalysisDrawerComponent {
.select(selectBreadcrumbs)
.pipe(takeUntilDestroyed())
.subscribe((breadcrumbs: BreadcrumbEntity) => {
this.processGroupName = breadcrumbs.breadcrumb.name;
if (breadcrumbs.permissions.canRead && breadcrumbs.breadcrumb) {
this.processGroupName = breadcrumbs.breadcrumb.name;
} else {
this.processGroupName = this.currentProcessGroupId;
}
});
}