1
0
mirror of https://github.com/home-assistant/frontend.git synced 2025-12-20 02:38:53 +00:00

Change logic for the new version handling (#7405)

This commit is contained in:
Joakim Sørensen
2020-10-21 12:40:06 +02:00
committed by GitHub
parent 0fcf0dcd18
commit 01b9a07320
12 changed files with 152 additions and 140 deletions

View File

@@ -108,8 +108,8 @@ class HassioHostInfo extends LitElement {
<span slot="description">
${this.hostInfo.operating_system}
</span>
${this.hostInfo.version !== this.hostInfo.version_latest &&
this.hostInfo.features.includes("hassos")
${this.hostInfo.features.includes("hassos") &&
this.hostInfo.update_available
? html`
<ha-progress-button
title="Update the host OS"