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
f255e6c7bf
commit
fbc78f020b
@ -104,7 +104,7 @@ Polymer({
|
|||||||
'hass-api-called': 'apiCalled',
|
'hass-api-called': 'apiCalled',
|
||||||
},
|
},
|
||||||
|
|
||||||
apiCalled: function (ev) {
|
apiCalled: function () {
|
||||||
this.$.data.refresh();
|
this.$.data.refresh();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -238,7 +238,7 @@ Polymer({
|
|||||||
'hass-api-called': 'apiCalled',
|
'hass-api-called': 'apiCalled',
|
||||||
},
|
},
|
||||||
|
|
||||||
apiCalled: function (ev) {
|
apiCalled: function () {
|
||||||
this.addonChanged(this.addon);
|
this.addonChanged(this.addon);
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -251,7 +251,7 @@ Polymer({
|
|||||||
this.hass.callApi('get', 'hassio/addons/' + addon + '/info')
|
this.hass.callApi('get', 'hassio/addons/' + addon + '/info')
|
||||||
.then(function (info) {
|
.then(function (info) {
|
||||||
this.addonState = info.data;
|
this.addonState = info.data;
|
||||||
}.bind(this), function (info) {
|
}.bind(this), function () {
|
||||||
this.addonState = null;
|
this.addonState = null;
|
||||||
}.bind(this));
|
}.bind(this));
|
||||||
this.refreshLogs();
|
this.refreshLogs();
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<paper-card heading="Addons">
|
<paper-card heading="Installed Addons">
|
||||||
<div class="card-content">
|
<div class="card-content">
|
||||||
<template is='dom-repeat' items='[[data]]' as='addon'>
|
<template is='dom-repeat' items='[[data]]' as='addon'>
|
||||||
<paper-item>
|
<paper-item>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user