BUGFIX: default amount should be 1
This seems to have been broken for a little while. The bug was that if you just left the donation combo-box as is (i.e. at ‘1.00’), entered your card details and clicked ‘donate’ you would get an error, because the default ``amount`` property was null rather than 0.
This commit is contained in:
parent
23e30c7db8
commit
f46d3394cb
|
@ -11,7 +11,7 @@ export default Ember.Component.extend({
|
|||
{ value: 50, name: '50.00'}
|
||||
],
|
||||
result: [],
|
||||
amount: null,
|
||||
amount: 1,
|
||||
stripe: null,
|
||||
transactionInProgress: null,
|
||||
settings: null,
|
||||
|
|
Loading…
Reference in New Issue