first iter of manual update control
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
9e0aca534c
commit
0f4dc5c072
3 changed files with 35 additions and 6 deletions
|
@ -127,6 +127,7 @@ module.exports = React.createClass({
|
|||
newVersion: null,
|
||||
hasNewVersion: false,
|
||||
newVersionReleaseNotes: null,
|
||||
checkingForUpdate: false,
|
||||
|
||||
// The username to default to when upgrading an account from a guest
|
||||
upgradeUsername: null,
|
||||
|
@ -527,6 +528,9 @@ module.exports = React.createClass({
|
|||
payload.releaseNotes,
|
||||
);
|
||||
break;
|
||||
case 'check_updates':
|
||||
this.setState({ checkingForUpdate: payload.value });
|
||||
break;
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -1107,6 +1111,7 @@ module.exports = React.createClass({
|
|||
newVersion: latest,
|
||||
hasNewVersion: current !== latest,
|
||||
newVersionReleaseNotes: releaseNotes,
|
||||
checkingForUpdate: false,
|
||||
});
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue