Try .get('length');
this instead because it ManyArray
is a little more special. I just use .get('length');
all the time these days in Ember to prevent problems like this, otherwise you will just find a confusion between .get('length');
and .length
.
source
to share