aboutsummaryrefslogtreecommitdiffstats
path: root/src/containers/settings
diff options
context:
space:
mode:
authorLibravatar vantezzen <hello@vantezzen.io>2020-03-25 17:13:47 +0100
committerLibravatar vantezzen <hello@vantezzen.io>2020-03-25 17:13:47 +0100
commitf00f32f91e69566dc38a1e3db892bb14c6c0dc5a (patch)
tree6016b96bbf3fc64eff533d46a58495f8ef972cee /src/containers/settings
parentImprove user onboarding (#493) (diff)
downloadferdium-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/settings')
-rw-r--r--src/containers/settings/TeamScreen.js3
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
9import TeamDashboard from '../../components/settings/team/TeamDashboard'; 9import TeamDashboard from '../../components/settings/team/TeamDashboard';
10import ErrorBoundary from '../../components/util/ErrorBoundary'; 10import ErrorBoundary from '../../components/util/ErrorBoundary';
11import { WEBSITE } from '../../environment';
12 11
13export default @inject('stores', 'actions') @observer class TeamScreen extends Component { 12export 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 }