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,12 +18,14 @@ class HelpPage extends React.Component {
|
|||
}
|
||||
|
||||
componentWillMount() {
|
||||
lbry.getAppVersionInfo().then(({ remoteVersion, upgradeAvailable }) => {
|
||||
this.setState({
|
||||
uiVersion: remoteVersion,
|
||||
upgradeAvailable: upgradeAvailable,
|
||||
lbry
|
||||
.getAppVersionInfo()
|
||||
.then(({ remoteVersion, localVersion, upgradeAvailable }) => {
|
||||
this.setState({
|
||||
uiVersion: localVersion,
|
||||
upgradeAvailable: upgradeAvailable,
|
||||
});
|
||||
});
|
||||
});
|
||||
lbry.call("version", {}, info => {
|
||||
this.setState({
|
||||
versionInfo: info,
|
||||
|
|
Loading…
Reference in a new issue