diff --git a/hassio/src/system/hassio-supervisor-info.ts b/hassio/src/system/hassio-supervisor-info.ts index 7282cced77..2a2ef93de9 100644 --- a/hassio/src/system/hassio-supervisor-info.ts +++ b/hassio/src/system/hassio-supervisor-info.ts @@ -31,29 +31,9 @@ import { documentationUrl } from "../../../src/util/documentation-url"; import "../components/supervisor-metric"; import { hassioStyle } from "../resources/hassio-style"; -const UNSUPPORTED_REASON_URL = { - apparmor: "/more-info/unsupported/apparmor", - container: "/more-info/unsupported/container", - content_trust: "/more-info/unsupported/content_trust", - dbus: "/more-info/unsupported/dbus", - docker_configuration: "/more-info/unsupported/docker_configuration", - docker_version: "/more-info/unsupported/docker_version", - job_conditions: "/more-info/unsupported/job_conditions", - lxc: "/more-info/unsupported/lxc", - network_manager: "/more-info/unsupported/network_manager", - os_agent: "/more-info/unsupported/os_agent", - os: "/more-info/unsupported/os", - privileged: "/more-info/unsupported/privileged", - source_mods: "/more-info/unsupported/source_mods", - systemd: "/more-info/unsupported/systemd", -}; - +const UNSUPPORTED_REASON_URL = {}; const UNHEALTHY_REASON_URL = { privileged: "/more-info/unsupported/privileged", - supervisor: "/more-info/unhealthy/supervisor", - setup: "/more-info/unhealthy/setup", - docker: "/more-info/unhealthy/docker", - untrusted: "/more-info/unhealthy/untrusted", }; @customElement("hassio-supervisor-info") @@ -425,20 +405,19 @@ class HassioSupervisorInfo extends LitElement { ${this.supervisor.resolution.unsupported.map( (reason) => html`
  • - ${UNSUPPORTED_REASON_URL[reason] - ? html` - ${this.supervisor.localize( - `system.supervisor.unsupported_reason.${reason}` - ) || reason} - ` - : reason} + + ${this.supervisor.localize( + `system.supervisor.unsupported_reason.${reason}` + ) || reason} +
  • ` )} @@ -456,20 +435,19 @@ class HassioSupervisorInfo extends LitElement { ${this.supervisor.resolution.unhealthy.map( (reason) => html`
  • - ${UNHEALTHY_REASON_URL[reason] - ? html` - ${this.supervisor.localize( - `system.supervisor.unhealthy_reason.${reason}` - ) || reason} - ` - : reason} + + ${this.supervisor.localize( + `system.supervisor.unhealthy_reason.${reason}` + ) || reason} +
  • ` )} diff --git a/src/translations/en.json b/src/translations/en.json index d938f29204..764815d077 100755 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -4244,7 +4244,6 @@ "share_diagonstics_description": "Would you want to automatically share crash reports and diagnostic information when the Supervisor encounters unexpected errors? {line_break} This will allow us to fix the problems, the information is only accessible to the Home Assistant Core team and will not be shared with others.{line_break} The data does not include any private/sensitive information and you can disable this in settings at any time you want.", "unsupported_reason": { "apparmor": "AppArmor is not enabled on the host", - "container": "Containers known to cause issues", "content_trust": "Content-trust validation is disabled", "dbus": "DBUS", "docker_configuration": "Docker Configuration", @@ -4255,6 +4254,7 @@ "os": "Operating System", "os_agent": "OS Agent", "privileged": "Supervisor is not privileged", + "software": "Unsupported software detected", "source_mods": "Source modifications", "systemd": "Systemd" },