mirror of https://github.com/vector-im/riot-web
				
				
				
			Merge pull request #299 from matrix-org/dbkr/SdkConfig
Pass brand parameter down to Notificationspull/21833/head
						commit
						b5ff247f09
					
				|  | @ -1092,7 +1092,7 @@ module.exports = React.createClass({ | |||
|                     right_panel = <RightPanel roomId={this.state.currentRoom} collapsed={this.state.collapse_rhs} opacity={this.state.sideOpacity} /> | ||||
|                     break; | ||||
|                 case this.PageTypes.UserSettings: | ||||
|                     page_element = <UserSettings onClose={this.onUserSettingsClose} version={this.state.version} /> | ||||
|                     page_element = <UserSettings onClose={this.onUserSettingsClose} version={this.state.version} brand={this.props.config.brand} /> | ||||
|                     right_panel = <RightPanel collapsed={this.state.collapse_rhs} opacity={this.state.sideOpacity}/> | ||||
|                     break; | ||||
|                 case this.PageTypes.CreateRoom: | ||||
|  |  | |||
|  | @ -31,7 +31,9 @@ module.exports = React.createClass({ | |||
| 
 | ||||
|     propTypes: { | ||||
|         version: React.PropTypes.string, | ||||
|         onClose: React.PropTypes.func | ||||
|         onClose: React.PropTypes.func, | ||||
|         // The brand string given when creating email pushers
 | ||||
|         brand: React.PropTypes.string, | ||||
|     }, | ||||
| 
 | ||||
|     getDefaultProps: function() { | ||||
|  | @ -333,7 +335,7 @@ module.exports = React.createClass({ | |||
|                 <h3>Notifications</h3> | ||||
| 
 | ||||
|                 <div className="mx_UserSettings_section"> | ||||
|                     <Notifications threepids={this.state.threepids} /> | ||||
|                     <Notifications threepids={this.state.threepids} brand={this.props.brand} /> | ||||
|                 </div> | ||||
|             </div>); | ||||
|         } | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 David Baker
						David Baker