Skip to content
This repository has been archived by the owner on Oct 1, 2019. It is now read-only.

Commit

Permalink
Merge origin/fix/bio-settings into stable
Browse files Browse the repository at this point in the history
  • Loading branch information
indeyets committed Feb 16, 2017
2 parents cf0ff33 + 44183b7 commit 15a3432
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 15 deletions.
6 changes: 3 additions & 3 deletions src/pages/base/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ class BaseSettingsPage extends React.Component {
className="aux-nav__link"
to={getUrl(URL_NAMES.SETTINGS)}
>
Basic info
Your Bio
</IndexLink>
</div>
<div className="aux-nav__item">
Expand All @@ -156,7 +156,7 @@ class BaseSettingsPage extends React.Component {
to={getUrl(URL_NAMES.CHANGE_PASSWORD)}
visible
>
Change password
Change Password
</PageContentLink>
</div>
{/*<div className="aux-nav__item">
Expand Down Expand Up @@ -196,7 +196,7 @@ class BaseSettingsPage extends React.Component {
to={getUrl(URL_NAMES.EMAIL_SETTINGS)}
visible
>
Notification settings
Notification Settings
</PageContentLink>
</div>
<div className="aux-nav__item">
Expand Down
12 changes: 0 additions & 12 deletions src/pages/settings/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
import React, { PropTypes } from 'react';
import { connect } from 'react-redux';
import Helmet from 'react-helmet';
import i from 'immutable';

import {
CurrentUser as CurrentUserPropType
Expand All @@ -34,7 +33,6 @@ import { ActionsTrigger } from '../../triggers';
import { createSelector, currentUserSelector } from '../../selectors';

import Button from '../../components/button';
import { RolesManager } from '../../components/settings';
import ProfileHeader from '../../components/profile';

class SettingsPage extends React.Component {
Expand Down Expand Up @@ -122,8 +120,6 @@ class SettingsPage extends React.Component {
return false;
}

const roles = current_user.getIn(['user', 'more', 'roles'], i.List()).toJS();

return (
<div>
<Helmet title="Your Profile Settings on " />
Expand All @@ -142,14 +138,6 @@ class SettingsPage extends React.Component {
ref={c => this.form = c}
onChange={this.handleFormChange}
/>
<div className="paper__page">
<h2 className="content__sub_title layout__row">Roles</h2>
<RolesManager
ref={c => this.roles = c}
roles={roles}
onChange={this.handleFormChange}
/>
</div>
{this.state.unsaved &&
<div className="paper__page layout__raw_grid layout__raw_grid--reverse tools_page__item--flex">
<Button
Expand Down

0 comments on commit 15a3432

Please sign in to comment.