This commit is contained in:
Paulus Schoutsen 2017-04-30 22:53:07 -07:00
parent f255e6c7bf
commit fbc78f020b
3 changed files with 4 additions and 4 deletions

View File

@ -104,7 +104,7 @@ Polymer({
'hass-api-called': 'apiCalled',
},
apiCalled: function (ev) {
apiCalled: function () {
this.$.data.refresh();
},

View File

@ -238,7 +238,7 @@ Polymer({
'hass-api-called': 'apiCalled',
},
apiCalled: function (ev) {
apiCalled: function () {
this.addonChanged(this.addon);
},
@ -251,7 +251,7 @@ Polymer({
this.hass.callApi('get', 'hassio/addons/' + addon + '/info')
.then(function (info) {
this.addonState = info.data;
}.bind(this), function (info) {
}.bind(this), function () {
this.addonState = null;
}.bind(this));
this.refreshLogs();

View File

@ -18,7 +18,7 @@
cursor: pointer;
}
</style>
<paper-card heading="Addons">
<paper-card heading="Installed Addons">
<div class="card-content">
<template is='dom-repeat' items='[[data]]' as='addon'>
<paper-item>