mirror of
https://github.com/home-assistant/frontend.git
synced 2025-08-03 14:37:47 +00:00
Check status
This commit is contained in:
parent
1519355d76
commit
56a3c8c0c0
@ -63,6 +63,7 @@ class HassioIngressView extends LitElement {
|
|||||||
if (this._resolveIngressURL.interval) {
|
if (this._resolveIngressURL.interval) {
|
||||||
clearInterval(this._resolveIngressURL.interval);
|
clearInterval(this._resolveIngressURL.interval);
|
||||||
}
|
}
|
||||||
|
this._resolveIngressURL = {};
|
||||||
}
|
}
|
||||||
|
|
||||||
public connectedCallback() {
|
public connectedCallback() {
|
||||||
@ -95,7 +96,10 @@ class HassioIngressView extends LitElement {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this._resolveIngressURL.status !== STATUS_BAD_GATEWAY) {
|
if (
|
||||||
|
this._resolveIngressURL.status &&
|
||||||
|
this._resolveIngressURL.status !== STATUS_BAD_GATEWAY
|
||||||
|
) {
|
||||||
if (this._resolveIngressURL.interval) {
|
if (this._resolveIngressURL.interval) {
|
||||||
clearInterval(this._resolveIngressURL.interval);
|
clearInterval(this._resolveIngressURL.interval);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user