diff --git a/frontend/projects/ui/src/app/pages/apps-routes/app-show/app-show.page.ts b/frontend/projects/ui/src/app/pages/apps-routes/app-show/app-show.page.ts index 19b29c1f6..ab250e1a7 100644 --- a/frontend/projects/ui/src/app/pages/apps-routes/app-show/app-show.page.ts +++ b/frontend/projects/ui/src/app/pages/apps-routes/app-show/app-show.page.ts @@ -159,7 +159,7 @@ export class AppShowPage { errorText = 'Not running' fixText = 'Start' } else if (depError.type === DependencyErrorType.HealthChecksFailed) { - errorText = 'Health check failed' + errorText = 'Required health check not passing' } else if (depError.type === DependencyErrorType.Transitive) { errorText = 'Dependency has a dependency issue' } diff --git a/frontend/projects/ui/src/app/services/dep-error.service.ts b/frontend/projects/ui/src/app/services/dep-error.service.ts index 1ba4f11a9..4762f2df1 100644 --- a/frontend/projects/ui/src/app/services/dep-error.service.ts +++ b/frontend/projects/ui/src/app/services/dep-error.service.ts @@ -116,11 +116,7 @@ export class DepErrorService { // not running if ( depStatus !== PackageMainStatus.Running && - depStatus !== PackageMainStatus.Starting && - !( - depStatus === PackageMainStatus.BackingUp && - depInstalled.status.main.started - ) + depStatus !== PackageMainStatus.Starting ) { return { type: DependencyErrorType.NotRunning, @@ -133,11 +129,10 @@ export class DepErrorService { 'health-checks' ]) { if ( - depInstalled.status.main.health[id].result !== HealthResult.Success + depInstalled.status.main.health[id]?.result !== HealthResult.Success ) { return { type: DependencyErrorType.HealthChecksFailed, - check: depInstalled.status.main.health[id], } } } @@ -212,7 +207,6 @@ export interface DependencyErrorConfigUnsatisfied { export interface DependencyErrorHealthChecksFailed { type: DependencyErrorType.HealthChecksFailed - check: HealthCheckResult } export interface DependencyErrorTransitive {