Merge pull request #207 from filipnyquist/fillerino-ver-fix
Fixed the local version in help
This commit is contained in:
commit
3c58678f62
1 changed files with 7 additions and 5 deletions
|
@ -18,9 +18,11 @@ class HelpPage extends React.Component {
|
||||||
}
|
}
|
||||||
|
|
||||||
componentWillMount() {
|
componentWillMount() {
|
||||||
lbry.getAppVersionInfo().then(({ remoteVersion, upgradeAvailable }) => {
|
lbry
|
||||||
|
.getAppVersionInfo()
|
||||||
|
.then(({ remoteVersion, localVersion, upgradeAvailable }) => {
|
||||||
this.setState({
|
this.setState({
|
||||||
uiVersion: remoteVersion,
|
uiVersion: localVersion,
|
||||||
upgradeAvailable: upgradeAvailable,
|
upgradeAvailable: upgradeAvailable,
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue