make needs config a primary status

This commit is contained in:
Matt Hill
2021-09-23 20:34:11 -06:00
parent 95188458ed
commit b41c0c2c29
2 changed files with 13 additions and 8 deletions

View File

@@ -71,7 +71,7 @@ export class AppListPage {
this.pkgs[id].entry = pkg
this.pkgs[id].installProgress = !isEmptyObject(pkg['install-progress']) ? this.installPackageService.transform(pkg['install-progress']) : undefined
this.pkgs[id].primaryRendering = primaryRendering
this.pkgs[id].error = [HealthStatus.NeedsConfig, HealthStatus.Failure].includes(statuses.health) || [DependencyStatus.Issue, DependencyStatus.Critical].includes(statuses.dependency)
this.pkgs[id].error = statuses.health === HealthStatus.Failure || [DependencyStatus.Issue, DependencyStatus.Critical].includes(statuses.dependency)
})
})
}),