fix(CouponCell): discounted value (#7196)
* fix(CouponCell): discounted value * feat(CouponCell): add unit test * feat(CouponCell): add unit test
This commit is contained in:
@@ -30,9 +30,7 @@ function formatValue(props: CouponCellProps) {
|
||||
|
||||
if (isDef(coupon.value)) {
|
||||
({ value } = coupon);
|
||||
}
|
||||
|
||||
if (isDef(coupon.denominations)) {
|
||||
} else if (isDef(coupon.denominations)) {
|
||||
value = coupon.denominations;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user