()
| 45 | |
| 46 | getters: { |
| 47 | activeCouponID () { |
| 48 | const couponID = utils.getQueryVariable('coupon') || me.get('country') |
| 49 | if (couponID === 'brazil') { |
| 50 | // Edge case due to misconfigured brazil coupon in stripe that is immutable |
| 51 | return 'brazil-annual' |
| 52 | } |
| 53 | return couponID |
| 54 | }, |
| 55 | |
| 56 | basicSubscriptionForCurrentUser (state) { |
| 57 | if (!Array.isArray(state.products) || state.products.length === 0) { |