This commit is contained in:
Paulus Schoutsen 2017-05-11 21:57:29 -07:00
parent a4f7caef81
commit 7fc56bb62a
3 changed files with 3 additions and 3 deletions

View File

@ -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>

View File

@ -140,7 +140,7 @@ Polymer({
this.$.data.refresh().catch(function () {
tries += 1;
setTimeout(tryUpdate, Math.min(tries, 5) * 1000);
})
});
}.bind(this);
tryUpdate();

View File

@ -33,7 +33,7 @@ Polymer({
this.fetchSupervisorInfo(),
this.fetchHostInfo(),
this.fetchHassInfo(),
])
]);
},
fetchSupervisorInfo: function () {