You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-12-01 09:58:03 +03:00
Display the version in UserSettings. Change MatrixChat.onNewVersion to onVersion
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user