Switch between highlighted buttons
This commit is contained in:
@ -15,7 +15,9 @@ export default contain(
|
|||||||
actions: 'jobActions',
|
actions: 'jobActions',
|
||||||
map({
|
map({
|
||||||
job: { id, isHighlighted } = {},
|
job: { id, isHighlighted } = {},
|
||||||
buttonId = paypalIds.regular,
|
buttonId = isHighlighted ?
|
||||||
|
paypalIds.highlighted :
|
||||||
|
paypalIds.regular,
|
||||||
price = 200,
|
price = 200,
|
||||||
discountAmount = 0,
|
discountAmount = 0,
|
||||||
promoCode = '',
|
promoCode = '',
|
||||||
|
Reference in New Issue
Block a user