Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Default to USD if currency is not set
Browse files Browse the repository at this point in the history
Fix #3266

Auditors: @alexwykoff
  • Loading branch information
diracdeltas committed Aug 19, 2016
1 parent 6d9ba0c commit ccf7e4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/about/preferences.js
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ class PaymentsTab extends ImmutableComponent {
onChange={changeSetting.bind(null, this.props.onChangeSetting, settings.PAYMENTS_CONTRIBUTION_AMOUNT)} >
{
[5, 10, 15, 20].map((amount) =>
<option value={amount}>{amount} {this.props.ledgerData.get('currency')}</option>
<option value={amount}>{amount} {this.props.ledgerData.get('currency') || 'USD'}</option>
)
}
</select>
Expand Down

0 comments on commit ccf7e4d

Please sign in to comment.