mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-14 12:56:37 +00:00
Fix being able to remove all extra add-on repositories
https://www.pivotaltracker.com/story/show/145397813
This commit is contained in:
parent
a341ccf944
commit
6d1bab4a62
@ -59,8 +59,11 @@ Polymer({
|
||||
},
|
||||
|
||||
computeOptionsData: function (options) {
|
||||
var parsed = options.trim();
|
||||
parsed = parsed ?
|
||||
parsed.split("\n").map(function(ent) { return ent.trim(); }) : [];
|
||||
return {
|
||||
addons_repositories: options.split('\n'),
|
||||
addons_repositories: parsed,
|
||||
};
|
||||
},
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user