From f00f32f91e69566dc38a1e3db892bb14c6c0dc5a Mon Sep 17 00:00:00 2001 From: vantezzen Date: Wed, 25 Mar 2020 17:13:47 +0100 Subject: 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 --- src/containers/settings/TeamScreen.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/containers/settings') 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'; import TeamDashboard from '../../components/settings/team/TeamDashboard'; import ErrorBoundary from '../../components/util/ErrorBoundary'; -import { WEBSITE } from '../../environment'; export default @inject('stores', 'actions') @observer class TeamScreen extends Component { handleWebsiteLink(route) { const { actions, stores } = this.props; - const url = `${WEBSITE}${route}?authToken=${stores.user.authToken}&utm_source=app&utm_medium=account_dashboard`; + const url = `https://meetfranz.com/${route}?authToken=${stores.user.authToken}&utm_source=app&utm_medium=account_dashboard`; actions.app.openExternalUrl({ url }); } -- cgit v1.2.3-54-g00ecf