You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I have a model that has a property which uses the difference macro to, obviously, get the difference between two of the model's properties. Here it is:
Strangely, I'm getting a NaN for the unpaid property when totalBilled = 15 and payments = 0. Digging into the macro itself, I'm seeing that firstNumber is properly set to 15, but secondNumber is actually the name of the property, payments, rather than 0. Odd, right?
If I downgrade to v2.1.3 of ember-cpm, everything works as expected.
I'm running Ember 2.11.3.
Thanks in advance for any help!
The text was updated successfully, but these errors were encountered:
Hi,
I have a model that has a property which uses the
difference
macro to, obviously, get the difference between two of the model's properties. Here it is:Strangely, I'm getting a
NaN
for theunpaid
property whentotalBilled = 15
andpayments = 0
. Digging into the macro itself, I'm seeing thatfirstNumber
is properly set to15
, butsecondNumber
is actually the name of the property,payments
, rather than0
. Odd, right?If I downgrade to v2.1.3 of ember-cpm, everything works as expected.
I'm running Ember 2.11.3.
Thanks in advance for any help!
The text was updated successfully, but these errors were encountered: