Browse Source

settings version check fix

all-modes
pbca26 8 years ago
parent
commit
d93e927539
  1. 4
      react/src/components/dashboard/settings/settings.js
  2. 2
      react/www/index.html

4
react/src/components/dashboard/settings/settings.js

@ -172,9 +172,9 @@ class Settings extends React.Component {
checkForUpdateUIPromise()
.then((res) => {
let _updateLog = this.state.updateLog;
_updateLog.push(res.result === 'update' ? ('New UI update available ' + res.version.remote) : 'You have the lastest UI version');
_updateLog.push(res.result === 'update' ? (`New UI update available ${res.version.remote}`) : 'You have the lastest UI version');
this.setState(Object.assign({}, this.state, {
updatePatch: res.result,
updatePatch: res.result === 'update' ? true : false,
updateLog: _updateLog,
}));
});

2
react/www/index.html

@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimal-ui">
<meta name="description" content="bootstrap admin template">
<meta name="author" content="SuperNET Team">
<title>Agama (v0.2.0.2a-beta)</title>
<title>Agama (v0.2.0.21a-beta)</title>
<link rel="apple-touch-icon" href="assets/images/android-chrome-192x192.png">
<link rel="icon" type="image/png" href="assets/images/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="assets/images/favicon-194x194.png" sizes="194x194">

Loading…
Cancel
Save