Merge pull request #207 from filipnyquist/fillerino-ver-fix

Fixed the local version in help
This commit is contained in:
Jeremy Kauffman 2017-06-07 11:05:01 -04:00 committed by GitHub
commit 3c58678f62

View file

@ -18,9 +18,11 @@ class HelpPage extends React.Component {
}
componentWillMount() {
lbry.getAppVersionInfo().then(({ remoteVersion, upgradeAvailable }) => {
lbry
.getAppVersionInfo()
.then(({ remoteVersion, localVersion, upgradeAvailable }) => {
this.setState({
uiVersion: remoteVersion,
uiVersion: localVersion,
upgradeAvailable: upgradeAvailable,
});
});