[NIFI-13693] - Remove System Diagnostics menu option when clustered (#9215)

This closes #9215
This commit is contained in:
Rob Fellows 2024-08-30 11:38:13 -04:00 committed by GitHub
parent aa9630a40f
commit 1d23ff52ed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 11 additions and 8 deletions

View File

@ -111,14 +111,17 @@
<i class="fa fa-area-chart primary-color mr-2"></i>
Node Status History
</button>
<button
mat-menu-item
class="global-menu-item"
[disabled]="!user.systemPermissions.canRead"
(click)="viewSystemDiagnostics()">
<i class="fa mr-2"></i>
System Diagnostics
</button>
@if (!clusterSummary()?.clustered) {
<button
mat-menu-item
class="global-menu-item"
[disabled]="!user.systemPermissions.canRead"
(click)="viewSystemDiagnostics()">
<i class="fa mr-2"></i>
System Diagnostics
</button>
}
@if (flowConfiguration(); as flowConfig) {
@if (flowConfig.supportsManagedAuthorizer) {
<mat-divider></mat-divider>