From 95b468e05afdea85ad33270268dd8c0f54708036 Mon Sep 17 00:00:00 2001 From: JoramWilander Date: Mon, 15 Jun 2015 09:40:46 -0400 Subject: fixes mm-1237 remove sessions and activity log from account settings --- web/react/components/settings_sidebar.jsx | 6 ++++-- web/react/components/user_settings.jsx | 5 +++++ 2 files changed, 9 insertions(+), 2 deletions(-) (limited to 'web/react') diff --git a/web/react/components/settings_sidebar.jsx b/web/react/components/settings_sidebar.jsx index 34e3c9203..a1546890f 100644 --- a/web/react/components/settings_sidebar.jsx +++ b/web/react/components/settings_sidebar.jsx @@ -14,11 +14,13 @@ module.exports = React.createClass({
  • General
  • Security
  • Notifications
  • -
  • Sessions
  • -
  • Activity Log
  • Appearance
  • ); + /* Temporarily removing sessions and activity logs +
  • Sessions
  • +
  • Activity Log
  • + */ } }); diff --git a/web/react/components/user_settings.jsx b/web/react/components/user_settings.jsx index b165a59ad..9af2cbf04 100644 --- a/web/react/components/user_settings.jsx +++ b/web/react/components/user_settings.jsx @@ -1126,6 +1126,9 @@ module.exports = React.createClass({ ); + + /* Temporarily removing sessoions and activity_log tabs + } else if (this.props.activeTab === 'sessions') { return (
    @@ -1138,6 +1141,8 @@ module.exports = React.createClass({
    ); + */ + } else if (this.props.activeTab === 'appearance') { return (
    -- cgit v1.2.3-1-g7c22 From 54ab3c896de244e56c52df2c877ff63814a53d33 Mon Sep 17 00:00:00 2001 From: JoramWilander Date: Mon, 15 Jun 2015 09:41:23 -0400 Subject: fix typo --- web/react/components/user_settings.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/react') diff --git a/web/react/components/user_settings.jsx b/web/react/components/user_settings.jsx index 9af2cbf04..a9c2433f2 100644 --- a/web/react/components/user_settings.jsx +++ b/web/react/components/user_settings.jsx @@ -1127,7 +1127,7 @@ module.exports = React.createClass({
    ); - /* Temporarily removing sessoions and activity_log tabs + /* Temporarily removing sessions and activity_log tabs } else if (this.props.activeTab === 'sessions') { return ( -- cgit v1.2.3-1-g7c22