diff options
author | 2019-09-05 11:14:51 +0200 | |
---|---|---|
committer | 2019-09-05 11:14:51 +0200 | |
commit | 4152b7f78687105e759912626ba3c055e70bc304 (patch) | |
tree | bfda77d21041889b5802b0092cc7325ec0b68f8c /src/components/settings | |
parent | create test build (diff) | |
download | ferdium-app-4152b7f78687105e759912626ba3c055e70bc304.tar.gz ferdium-app-4152b7f78687105e759912626ba3c055e70bc304.tar.zst ferdium-app-4152b7f78687105e759912626ba3c055e70bc304.zip |
Fix isPro state
Diffstat (limited to 'src/components/settings')
-rw-r--r-- | src/components/settings/account/AccountDashboard.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/settings/account/AccountDashboard.js b/src/components/settings/account/AccountDashboard.js index 4fd1e8163..ac2594604 100644 --- a/src/components/settings/account/AccountDashboard.js +++ b/src/components/settings/account/AccountDashboard.js | |||
@@ -97,6 +97,7 @@ const messages = defineMessages({ | |||
97 | class AccountDashboard extends Component { | 97 | class AccountDashboard extends Component { |
98 | static propTypes = { | 98 | static propTypes = { |
99 | user: MobxPropTypes.observableObject.isRequired, | 99 | user: MobxPropTypes.observableObject.isRequired, |
100 | isPremiumOverrideUser: PropTypes.bool.isRequired, | ||
100 | isProUser: PropTypes.bool.isRequired, | 101 | isProUser: PropTypes.bool.isRequired, |
101 | isLoading: PropTypes.bool.isRequired, | 102 | isLoading: PropTypes.bool.isRequired, |
102 | userInfoRequestFailed: PropTypes.bool.isRequired, | 103 | userInfoRequestFailed: PropTypes.bool.isRequired, |
@@ -117,6 +118,7 @@ class AccountDashboard extends Component { | |||
117 | render() { | 118 | render() { |
118 | const { | 119 | const { |
119 | user, | 120 | user, |
121 | isPremiumOverrideUser, | ||
120 | isProUser, | 122 | isProUser, |
121 | isLoading, | 123 | isLoading, |
122 | userInfoRequestFailed, | 124 | userInfoRequestFailed, |
@@ -213,7 +215,7 @@ class AccountDashboard extends Component { | |||
213 | {intl.formatMessage(messages.yourLicense)} | 215 | {intl.formatMessage(messages.yourLicense)} |
214 | </H2> | 216 | </H2> |
215 | <p> | 217 | <p> |
216 | {planName} | 218 | {isPremiumOverrideUser ? 'Franz Premium' : planName} |
217 | {user.team.isTrial && ( | 219 | {user.team.isTrial && ( |
218 | <> | 220 | <> |
219 | {' – '} | 221 | {' – '} |