Use own isActiveTrial property for show upgrade CTA

no issue

The subscription.status property was set for a Stripe response. Switch to a `isActiveTrial` custom property which we send from the BMA
This commit is contained in:
Aileen Nowak 2021-03-04 20:25:21 +13:00
parent 6ce4d53259
commit a2fe325b6b

View File

@ -11,7 +11,7 @@ export default Component.extend({
subscription: null,
showUpgradeButton: computed.equal('billing.subscription.status', 'trialing'),
showUpgradeButton: computed.reads('billing.subscription.isActiveTrial'),
actions: {
openBilling() {