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