Display the version in UserSettings. Change MatrixChat.onNewVersion to onVersion
This commit is contained in:
parent
7bdd9f57a5
commit
8b96af4ccb
2 changed files with 7 additions and 3 deletions
|
@ -30,6 +30,7 @@ module.exports = React.createClass({
|
|||
displayName: 'UserSettings',
|
||||
|
||||
propTypes: {
|
||||
version: React.PropTypes.string,
|
||||
onClose: React.PropTypes.func
|
||||
},
|
||||
|
||||
|
@ -377,6 +378,8 @@ module.exports = React.createClass({
|
|||
</div>
|
||||
<div className="mx_UserSettings_advanced">
|
||||
Version {this.state.clientVersion}
|
||||
<br />
|
||||
{this.props.version}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue