From 51ca79fd4fac3f9b8f6a0577c2b12ec987147a5b Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Tue, 2 Oct 2018 16:45:02 -0500 Subject: [PATCH] Fix release change crash --- src/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.js b/src/App.js index 61651b6..277f2cb 100644 --- a/src/App.js +++ b/src/App.js @@ -219,7 +219,7 @@ class App extends Component { handleReleaseChanged = (e) => { const val = parseInt(e.target.value, 10); - const versionIndex = this.state.VersionLookup[this.state.ReleaseTypes[this.state.Release]].length - 1; + const versionIndex = this.state.VersionLookup[this.state.ReleaseTypes[val]].length - 1; this.setState({ Release: val, Version: versionIndex