This commit is contained in:
Ludeeus 2021-03-05 14:40:05 +00:00
parent bc14d6dfcb
commit b77ce9fc0e
2 changed files with 4 additions and 6 deletions

View File

@ -15,15 +15,12 @@ class SupervisorConnectivity extends LitElement {
@property({ attribute: false }) public supervisor!: Supervisor;
protected render(): TemplateResult {
if (
!this.supervisor.network.host_internet &&
this.supervisor.network.supervisor_internet
) {
if (this.supervisor.network.supervisor_internet) {
return html``;
}
return html`<div class="connectivity">
<span>The supervisor has lost connectivity.</span>
<span>${this.supervisor.localize("common.error.lost_connectivity")}</span>
</div>`;
}

View File

@ -3618,7 +3618,8 @@
"error": {
"unknown": "Unknown error",
"update_failed": "Update failed"
"update_failed": "Update failed",
"lost_connectivity": "The Supervisor has lost connectivity, check the Supervisor logs and your network settings."
}
},
"confirm": {