mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-19 15:26:36 +00:00
Lint
This commit is contained in:
parent
a4f7caef81
commit
7fc56bb62a
@ -109,7 +109,7 @@ Polymer({
|
|||||||
},
|
},
|
||||||
|
|
||||||
computeRebootAvailable: function (data) {
|
computeRebootAvailable: function (data) {
|
||||||
return data.features && data.features.indexOf("reboot") !== -1;
|
return data.features && data.features.indexOf('reboot') !== -1;
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
@ -140,7 +140,7 @@ Polymer({
|
|||||||
this.$.data.refresh().catch(function () {
|
this.$.data.refresh().catch(function () {
|
||||||
tries += 1;
|
tries += 1;
|
||||||
setTimeout(tryUpdate, Math.min(tries, 5) * 1000);
|
setTimeout(tryUpdate, Math.min(tries, 5) * 1000);
|
||||||
})
|
});
|
||||||
}.bind(this);
|
}.bind(this);
|
||||||
|
|
||||||
tryUpdate();
|
tryUpdate();
|
||||||
|
@ -33,7 +33,7 @@ Polymer({
|
|||||||
this.fetchSupervisorInfo(),
|
this.fetchSupervisorInfo(),
|
||||||
this.fetchHostInfo(),
|
this.fetchHostInfo(),
|
||||||
this.fetchHassInfo(),
|
this.fetchHassInfo(),
|
||||||
])
|
]);
|
||||||
},
|
},
|
||||||
|
|
||||||
fetchSupervisorInfo: function () {
|
fetchSupervisorInfo: function () {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user