aboutsummaryrefslogtreecommitdiffstats
path: root/src/containers/settings/TeamScreen.js
diff options
context:
space:
mode:
authorLibravatar vantezzen <hello@vantezzen.io>2019-10-18 21:04:46 +0200
committerLibravatar vantezzen <hello@vantezzen.io>2019-10-18 21:04:46 +0200
commitf439e0d8acbd469f1dc9de4b38f8ac9dcb6488ea (patch)
tree7e46ab96da59d7e49fefac9a757350bbb9d376da /src/containers/settings/TeamScreen.js
parentDevelop local server feature (diff)
downloadferdium-app-f439e0d8acbd469f1dc9de4b38f8ac9dcb6488ea.tar.gz
ferdium-app-f439e0d8acbd469f1dc9de4b38f8ac9dcb6488ea.tar.zst
ferdium-app-f439e0d8acbd469f1dc9de4b38f8ac9dcb6488ea.zip
Add info about teams only being availible on Franz servers
Diffstat (limited to 'src/containers/settings/TeamScreen.js')
-rw-r--r--src/containers/settings/TeamScreen.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/containers/settings/TeamScreen.js b/src/containers/settings/TeamScreen.js
index f600c9947..1172125fe 100644
--- a/src/containers/settings/TeamScreen.js
+++ b/src/containers/settings/TeamScreen.js
@@ -19,9 +19,10 @@ export default @inject('stores', 'actions') @observer class TeamScreen extends C
19 } 19 }
20 20
21 render() { 21 render() {
22 const { user } = this.props.stores; 22 const { user, settings } = this.props.stores;
23 23
24 const isLoadingUserInfo = user.getUserInfoRequest.isExecuting; 24 const isLoadingUserInfo = user.getUserInfoRequest.isExecuting;
25 const { server } = settings.app;
25 26
26 return ( 27 return (
27 <ErrorBoundary> 28 <ErrorBoundary>
@@ -31,6 +32,7 @@ export default @inject('stores', 'actions') @observer class TeamScreen extends C
31 retryUserInfoRequest={() => this.reloadData()} 32 retryUserInfoRequest={() => this.reloadData()}
32 openTeamManagement={() => this.handleWebsiteLink('/user/team')} 33 openTeamManagement={() => this.handleWebsiteLink('/user/team')}
33 isProUser={user.isPro} 34 isProUser={user.isPro}
35 server={server}
34 /> 36 />
35 </ErrorBoundary> 37 </ErrorBoundary>
36 ); 38 );