diff --git a/src/portal/src/app/app.component.ts b/src/portal/src/app/app.component.ts index 44c71b1f8..07c3ce543 100644 --- a/src/portal/src/app/app.component.ts +++ b/src/portal/src/app/app.component.ts @@ -88,7 +88,9 @@ export class AppComponent implements OnInit, OnDestroy { if (this.sessionService.getCurrentUser()?.has_admin_role) { this.jobServiceDashboardHealthCheckService.checkHealth(); } else { - this.jobServiceDashboardHealthCheckService.setHealthy(true); + this.jobServiceDashboardHealthCheckService.setUnHealthy( + false + ); } }, CHECK_HEALTH_INTERVAL); } diff --git a/src/portal/src/app/base/left-side-nav/job-service-dashboard/job-service-dashboard-health-check.service.ts b/src/portal/src/app/base/left-side-nav/job-service-dashboard/job-service-dashboard-health-check.service.ts index a834e5558..962253223 100644 --- a/src/portal/src/app/base/left-side-nav/job-service-dashboard/job-service-dashboard-health-check.service.ts +++ b/src/portal/src/app/base/left-side-nav/job-service-dashboard/job-service-dashboard-health-check.service.ts @@ -21,7 +21,7 @@ export class JobServiceDashboardHealthCheckService { return this._hasManuallyClosed; } - setHealthy(value: boolean): void { + setUnHealthy(value: boolean): void { this._hasUnhealthyQueue = value; } setManuallyClosed(value: boolean): void {