Re-add the notifications button.
This commit is contained in:
parent
b8e1927e82
commit
2fe56fd86d
1 changed files with 4 additions and 0 deletions
|
@ -20,6 +20,7 @@ var MatrixClientPeg = require("../../../../src/MatrixClientPeg");
|
||||||
var UserSettingsController = require("../../../../src/controllers/organisms/UserSettings");
|
var UserSettingsController = require("../../../../src/controllers/organisms/UserSettings");
|
||||||
|
|
||||||
var EditableText = ComponentBroker.get('atoms/EditableText');
|
var EditableText = ComponentBroker.get('atoms/EditableText');
|
||||||
|
var EnableNotificationsButton = ComponentBroker.get('atoms/EnableNotificationsButton');
|
||||||
var ChangeAvatar = ComponentBroker.get('molecules/ChangeAvatar');
|
var ChangeAvatar = ComponentBroker.get('molecules/ChangeAvatar');
|
||||||
var ChangePassword = ComponentBroker.get('molecules/ChangePassword');
|
var ChangePassword = ComponentBroker.get('molecules/ChangePassword');
|
||||||
var LogoutPrompt = ComponentBroker.get('organisms/LogoutPrompt');
|
var LogoutPrompt = ComponentBroker.get('organisms/LogoutPrompt');
|
||||||
|
@ -97,6 +98,9 @@ module.exports = React.createClass({
|
||||||
<div className="mx_UserSettings_ClientVersion">
|
<div className="mx_UserSettings_ClientVersion">
|
||||||
Version {this.state.clientVersion}
|
Version {this.state.clientVersion}
|
||||||
</div>
|
</div>
|
||||||
|
<div className="mx_UserSettings_EnableNotifications">
|
||||||
|
<EnableNotificationsButton />
|
||||||
|
</div>
|
||||||
<div className="mx_UserSettings_Logout">
|
<div className="mx_UserSettings_Logout">
|
||||||
<button onClick={this.onLogoutClicked}>Sign Out</button>
|
<button onClick={this.onLogoutClicked}>Sign Out</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue