diff options
author | vantezzen <hello@vantezzen.io> | 2020-03-25 17:13:47 +0100 |
---|---|---|
committer | vantezzen <hello@vantezzen.io> | 2020-03-25 17:13:47 +0100 |
commit | f00f32f91e69566dc38a1e3db892bb14c6c0dc5a (patch) | |
tree | 6016b96bbf3fc64eff533d46a58495f8ef972cee /src/containers | |
parent | Improve user onboarding (#493) (diff) | |
download | ferdium-app-f00f32f91e69566dc38a1e3db892bb14c6c0dc5a.tar.gz ferdium-app-f00f32f91e69566dc38a1e3db892bb14c6c0dc5a.tar.zst ferdium-app-f00f32f91e69566dc38a1e3db892bb14c6c0dc5a.zip |
Improve information about premium
As seen in #496, the current way Ferdi displays information about the Premium status may be irritating to new users.
This commit will:
- Hide all premium sections if we are not using the Franz server
- Hide teams section if we are not using the Franz server
- Update the description on the Teams page to reflect the use of Teams in Ferdi
- Fix accessing the Team Management page to go to meetfranz.com instead of getferdi.com
Diffstat (limited to 'src/containers')
-rw-r--r-- | src/containers/settings/TeamScreen.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/containers/settings/TeamScreen.js b/src/containers/settings/TeamScreen.js index d0196923a..3e21ca2d9 100644 --- a/src/containers/settings/TeamScreen.js +++ b/src/containers/settings/TeamScreen.js | |||
@@ -8,13 +8,12 @@ import SettingsStore from '../../stores/SettingsStore'; | |||
8 | 8 | ||
9 | import TeamDashboard from '../../components/settings/team/TeamDashboard'; | 9 | import TeamDashboard from '../../components/settings/team/TeamDashboard'; |
10 | import ErrorBoundary from '../../components/util/ErrorBoundary'; | 10 | import ErrorBoundary from '../../components/util/ErrorBoundary'; |
11 | import { WEBSITE } from '../../environment'; | ||
12 | 11 | ||
13 | export default @inject('stores', 'actions') @observer class TeamScreen extends Component { | 12 | export default @inject('stores', 'actions') @observer class TeamScreen extends Component { |
14 | handleWebsiteLink(route) { | 13 | handleWebsiteLink(route) { |
15 | const { actions, stores } = this.props; | 14 | const { actions, stores } = this.props; |
16 | 15 | ||
17 | const url = `${WEBSITE}${route}?authToken=${stores.user.authToken}&utm_source=app&utm_medium=account_dashboard`; | 16 | const url = `https://meetfranz.com/${route}?authToken=${stores.user.authToken}&utm_source=app&utm_medium=account_dashboard`; |
18 | 17 | ||
19 | actions.app.openExternalUrl({ url }); | 18 | actions.app.openExternalUrl({ url }); |
20 | } | 19 | } |