diff options
author | 2019-09-02 11:29:38 +0200 | |
---|---|---|
committer | 2019-09-02 11:29:38 +0200 | |
commit | bf386622630711eb70aea0cfe172201bab01d899 (patch) | |
tree | 7762a9e64e96881c27bbefa4ff34a746c2464e3a /src/containers | |
parent | Remove user type from signup (diff) | |
download | ferdium-app-bf386622630711eb70aea0cfe172201bab01d899.tar.gz ferdium-app-bf386622630711eb70aea0cfe172201bab01d899.tar.zst ferdium-app-bf386622630711eb70aea0cfe172201bab01d899.zip |
Add "see all options"
Diffstat (limited to 'src/containers')
-rw-r--r-- | src/containers/subscription/SubscriptionFormScreen.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/containers/subscription/SubscriptionFormScreen.js b/src/containers/subscription/SubscriptionFormScreen.js index 14f898ca6..5508c120c 100644 --- a/src/containers/subscription/SubscriptionFormScreen.js +++ b/src/containers/subscription/SubscriptionFormScreen.js | |||
@@ -19,7 +19,7 @@ export default @inject('stores', 'actions') @observer class SubscriptionFormScre | |||
19 | features, | 19 | features, |
20 | } = stores; | 20 | } = stores; |
21 | 21 | ||
22 | let hostedPageURL = user.data.hadSubscription ? features.features.planSelectionURL : features.features.subscribeURL; | 22 | let hostedPageURL = !user.data.hadSubscription ? features.features.planSelectionURL : features.features.subscribeURL; |
23 | const url = new URL(hostedPageURL); | 23 | const url = new URL(hostedPageURL); |
24 | const params = new URLSearchParams(url.search.slice(1)); | 24 | const params = new URLSearchParams(url.search.slice(1)); |
25 | 25 | ||
@@ -52,6 +52,7 @@ export default @inject('stores', 'actions') @observer class SubscriptionFormScre | |||
52 | <TrialForm | 52 | <TrialForm |
53 | plan={stores.payment.plan} | 53 | plan={stores.payment.plan} |
54 | activateTrial={() => actions.user.activateTrial({ planId: stores.features.features.defaultTrialPlan })} | 54 | activateTrial={() => actions.user.activateTrial({ planId: stores.features.features.defaultTrialPlan })} |
55 | showAllOptions={() => this.openBrowser()} | ||
55 | isActivatingTrial={stores.user.activateTrialRequest.isExecuting || stores.user.getUserInfoRequest.isExecuting} | 56 | isActivatingTrial={stores.user.activateTrialRequest.isExecuting || stores.user.getUserInfoRequest.isExecuting} |
56 | /> | 57 | /> |
57 | ); | 58 | ); |