diff --git a/src/panels/config/dashboard/ha-config-updates.ts b/src/panels/config/dashboard/ha-config-updates.ts index 264bd253c6..5d94cccee2 100644 --- a/src/panels/config/dashboard/ha-config-updates.ts +++ b/src/panels/config/dashboard/ha-config-updates.ts @@ -10,6 +10,7 @@ import "../../../components/ha-svg-icon"; import { SupervisorAvailableUpdates } from "../../../data/supervisor/supervisor"; import { buttonLinkStyle } from "../../../resources/styles"; import { HomeAssistant } from "../../../types"; +import "../../../components/ha-icon-next"; export const SUPERVISOR_UPDATE_NAMES = { core: "Home Assistant Core", @@ -46,34 +47,33 @@ class HaConfigUpdates extends LitElement { ${updates.map( (update) => html` - - - ${update.update_type === "addon" - ? update.icon - ? html`` - : html`` - : html``} - - - ${update.update_type === "addon" - ? update.name - : SUPERVISOR_UPDATE_NAMES[update.update_type!]} - - ${this.hass.localize( - "ui.panel.config.updates.version_available", - { - version_available: update.version_latest, - } - )} - - - - - - - + + + + ${update.update_type === "addon" + ? update.icon + ? html`` + : html`` + : html``} + + + ${update.update_type === "addon" + ? update.name + : SUPERVISOR_UPDATE_NAMES[update.update_type!]} + + ${this.hass.localize( + "ui.panel.config.updates.version_available", + { + version_available: update.version_latest, + } + )} + + + ${!this.narrow ? html`` : ""} + + ` )} ${!this._showAll && this.supervisorUpdates.length >= 4 @@ -120,10 +120,10 @@ class HaConfigUpdates extends LitElement { ha-logo-svg { color: var(--secondary-text-color); } - button.show-all { - color: var(--primary-color); - text-decoration: none; - margin: 16px; + ha-icon-next { + color: var(--secondary-text-color); + height: 24px; + width: 24px; } `, ];