mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 22:43:30 +03:00
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:
parent
6ce4d53259
commit
a2fe325b6b
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user