| |
@@ -93,34 +93,41 @@
|
| |
globalConfig={this.props.globalConfig}
|
| |
tabTitle={<FormattedMessage {...messages.general} />}
|
| |
handleChange={this.props.onConfigChange}
|
| |
+ hub={this.props.hub}
|
| |
/>
|
| |
- <UserPanel
|
| |
- users={this.props.users.owner}
|
| |
- globalConfig={this.props.globalConfig}
|
| |
- role="owner"
|
| |
- handleChange={this.props.onUserChange}
|
| |
- tabTitle={<FormattedMessage {...messages.owners} />}
|
| |
- urls={this.props.urls}
|
| |
- currentUser={this.props.currentUser}
|
| |
- />
|
| |
- <UserPanel
|
| |
- users={this.props.users.member}
|
| |
- globalConfig={this.props.globalConfig}
|
| |
- role="member"
|
| |
- handleChange={this.props.onUserChange}
|
| |
- tabTitle={<FormattedMessage {...messages.members} />}
|
| |
- urls={this.props.urls}
|
| |
- currentUser={this.props.currentUser}
|
| |
- />
|
| |
- <ChatPanel
|
| |
- hubConfig={this.props.hubConfig}
|
| |
- globalConfig={this.props.globalConfig}
|
| |
- tabTitle={<FormattedMessage {...messages.chat} />}
|
| |
- handleChange={this.props.onConfigChange}
|
| |
- />
|
| |
- <NotImplementedPanel
|
| |
+ {!this.props.hub.user_hub &&
|
| |
+ <UserPanel
|
| |
+ users={this.props.users.owner}
|
| |
+ globalConfig={this.props.globalConfig}
|
| |
+ role="owner"
|
| |
+ handleChange={this.props.onUserChange}
|
| |
+ tabTitle={<FormattedMessage {...messages.owners} />}
|
| |
+ urls={this.props.urls}
|
| |
+ currentUser={this.props.currentUser}
|
| |
+ />
|
| |
+ }
|
| |
+ {!this.props.hub.user_hub &&
|
| |
+ <UserPanel
|
| |
+ users={this.props.users.member}
|
| |
+ globalConfig={this.props.globalConfig}
|
| |
+ role="member"
|
| |
+ handleChange={this.props.onUserChange}
|
| |
+ tabTitle={<FormattedMessage {...messages.members} />}
|
| |
+ urls={this.props.urls}
|
| |
+ currentUser={this.props.currentUser}
|
| |
+ />
|
| |
+ }
|
| |
+ {!this.props.hub.user_hub &&
|
| |
+ <ChatPanel
|
| |
+ hubConfig={this.props.hubConfig}
|
| |
+ globalConfig={this.props.globalConfig}
|
| |
+ tabTitle={<FormattedMessage {...messages.chat} />}
|
| |
+ handleChange={this.props.onConfigChange}
|
| |
+ />
|
| |
+ }
|
| |
+ {/*<NotImplementedPanel
|
| |
tabTitle={<FormattedMessage {...messages.other} />}
|
| |
- />
|
| |
+ />*/}
|
| |
</TabSet>
|
| |
</Modal>
|
| |
);
|
| |
Signed-off-by: Ryan Lerch rlerch@redhat.com