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:
Angus McLeod 2018-02-02 16:19:21 +08:00
parent 23e30c7db8
commit f46d3394cb
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ export default Ember.Component.extend({
{ value: 50, name: '50.00'} { value: 50, name: '50.00'}
], ],
result: [], result: [],
amount: null, amount: 1,
stripe: null, stripe: null,
transactionInProgress: null, transactionInProgress: null,
settings: null, settings: null,