[Layout changes] [Prepare for release]

This commit is contained in:
Scott E. Graves
2018-10-04 00:49:49 -05:00
parent 712ad932be
commit 4aac967081
4 changed files with 31 additions and 13 deletions

View File

@@ -426,8 +426,9 @@ class App extends Component {
const doUpdate = (locationsLookup, versionLookup) => {
const latestVersion = versionLookup[this.state.ReleaseTypes[this.state.Release]].length - 1;
let version = this.state.Version;
if (version === -1) {
if ((version === -1) || !versionLookup[this.state.ReleaseTypes[this.state.Release]][version]) {
version = latestVersion;
this.saveState(this.state.Release, version, this.state.Sia, this.state.Hyperspace);
}
this.setState({
@@ -694,10 +695,10 @@ class App extends Component {
<UpgradeIcon
available={this.state.UpgradeAvailable}
clicked={()=>this.setState({UpgradeDismissed: false})}
col={dimensions => dimensions.columns - 7}
colSpan={6}
row={0}
rowSpan={'remain'}/>
col={dimensions => dimensions.columns - 6}
colSpan={5}
row={1}
rowSpan={remain=>remain - 2}/>
</Grid>
</Box>
</div>