summaryrefslogtreecommitdiffstats
path: root/web/react/components/user_settings/user_settings.jsx
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2015-10-16 08:22:37 -0400
committerChristopher Speller <crspeller@gmail.com>2015-10-16 08:22:37 -0400
commit89716cb046ee3c8f13b361053d91149f5ce29cbf (patch)
tree1faaf70fe1f51c19fc52b742de705e41edca660c /web/react/components/user_settings/user_settings.jsx
parent6846940abfb56496d3010db11c46998033d4d9f5 (diff)
parent79fcb9808421dd93342a9538d05dd2259f5dd14b (diff)
downloadchat-89716cb046ee3c8f13b361053d91149f5ce29cbf.tar.gz
chat-89716cb046ee3c8f13b361053d91149f5ce29cbf.tar.bz2
chat-89716cb046ee3c8f13b361053d91149f5ce29cbf.zip
Merge pull request #1054 from stasvovk/PLT-637
PLT-638: added display tab under account settings. added 24h time option
Diffstat (limited to 'web/react/components/user_settings/user_settings.jsx')
-rw-r--r--web/react/components/user_settings/user_settings.jsx12
1 files changed, 12 insertions, 0 deletions
diff --git a/web/react/components/user_settings/user_settings.jsx b/web/react/components/user_settings/user_settings.jsx
index 5ce9b6330..15bf961d6 100644
--- a/web/react/components/user_settings/user_settings.jsx
+++ b/web/react/components/user_settings/user_settings.jsx
@@ -9,6 +9,7 @@ var GeneralTab = require('./user_settings_general.jsx');
var AppearanceTab = require('./user_settings_appearance.jsx');
var DeveloperTab = require('./user_settings_developer.jsx');
var IntegrationsTab = require('./user_settings_integrations.jsx');
+var DisplayTab = require('./user_settings_display.jsx');
export default class UserSettings extends React.Component {
constructor(props) {
@@ -98,6 +99,17 @@ export default class UserSettings extends React.Component {
/>
</div>
);
+ } else if (this.props.activeTab === 'display') {
+ return (
+ <div>
+ <DisplayTab
+ user={this.state.user}
+ activeSection={this.props.activeSection}
+ updateSection={this.props.updateSection}
+ updateTab={this.props.updateTab}
+ />
+ </div>
+ );
}
return <div/>;