Switch between highlighted buttons

This commit is contained in:
Berkeley Martinez
2015-10-27 10:21:51 -07:00
parent 8bce2c9f8b
commit 3ee4a3fc48

View File

@ -15,7 +15,9 @@ export default contain(
actions: 'jobActions',
map({
job: { id, isHighlighted } = {},
buttonId = paypalIds.regular,
buttonId = isHighlighted ?
paypalIds.highlighted :
paypalIds.regular,
price = 200,
discountAmount = 0,
promoCode = '',