is-array helper is returning false when array only has one object inside it.
meganre opened this issue · 1 comments
meganre commented
The is-array truth helper in templates is returning false when the array only has a length of one. However running the same array through isArray from @ember/array
in the controller returns true.
First true is from the controller function, second is the array itself logged out and the final is the truth helper is-array
logged from the hbs template
JamesS-M commented
Is this still an issue? I wasn't able to reproduce it: https://ember-twiddle.com/0b7738432e40b1b0a6ef0121575b4554?openFiles=controllers.application%5C.js%2C