Re-add the notifications button.

pull/1/head
Kegan Dougal 2015-07-21 14:45:24 +01:00
parent b8e1927e82
commit 2fe56fd86d
1 changed files with 4 additions and 0 deletions

View File

@ -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>