mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-18 23:06:40 +00:00
Remove hardcoded core repo from hassio store
This commit is contained in:
parent
cc8e3fd22b
commit
9e7dc4a921
@ -58,13 +58,6 @@
|
||||
|
||||
<script>
|
||||
Polymer({
|
||||
_coreRepos: [{
|
||||
slug: 'core',
|
||||
name: 'Built-in Add-Ons',
|
||||
url: 'https://home-assistant.io/addons',
|
||||
maintainer: 'Home Assistant authors',
|
||||
}],
|
||||
|
||||
is: 'hassio-addon-store',
|
||||
|
||||
properties: {
|
||||
@ -114,7 +107,7 @@ Polymer({
|
||||
this.hass.callApi('get', 'hassio/supervisor/addons')
|
||||
.then(function (info) {
|
||||
this.addons = info.data.addons;
|
||||
this.repos = this._coreRepos.concat(info.data.repositories);
|
||||
this.repos = info.data.repositories;
|
||||
}.bind(this), function () {
|
||||
this.addons = [];
|
||||
this.repos = [];
|
||||
|
@ -59,7 +59,7 @@ Polymer({
|
||||
},
|
||||
|
||||
computeInstallStatus(addon) {
|
||||
return addon && addon.installed || 'Not installed';
|
||||
return (addon && addon.installed) || 'Not installed';
|
||||
},
|
||||
});
|
||||
</script>
|
||||
|
Loading…
x
Reference in New Issue
Block a user