region.remove(0) doesn't work
Closed this issue · 3 comments
mikermcneil commented
Can't remove a child component/template from a region if that child template has an index of 0-- i.e.
// in a component somewhere:
this.myRegion.remove(0); // doesn't work
this.myRegion.remove(4); // works fine
Probably just a ==
that needs to be an ===
or a !
that needs to be a typeof x==='undefined'
mikermcneil commented
Actually calls to remove()
with other indices are also failing
mikermcneil commented
Actually not 100% sure this is true-- will double-check.
mikermcneil commented
Doh nevermind it's golden. Sorry!