Fix the vector web version in UserSettings

Add a getAppVersion() function to the platform rather than relying
on the updater code firing an event before we know what the app
version is.
This commit is contained in:
David Baker 2016-11-08 10:45:19 +00:00
parent 884ae0e218
commit d44adcb7a9
3 changed files with 21 additions and 2 deletions

View file

@ -167,7 +167,6 @@ export default React.createClass({
case PageTypes.UserSettings:
page_element = <UserSettings
onClose={this.props.onUserSettingsClose}
version={this.props.version}
brand={this.props.config.brand}
collapsedRhs={this.props.collapse_rhs}
enableLabs={this.props.config.enableLabs}