mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05: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
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ export default Component.extend({
|
||||||
|
|
||||||
subscription: null,
|
subscription: null,
|
||||||
|
|
||||||
showUpgradeButton: computed.equal('billing.subscription.status', 'trialing'),
|
showUpgradeButton: computed.reads('billing.subscription.isActiveTrial'),
|
||||||
|
|
||||||
actions: {
|
actions: {
|
||||||
openBilling() {
|
openBilling() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue