Fix configuration check

This commit is contained in:
Scott E. Graves
2018-09-30 11:03:23 -05:00
parent 9968116242
commit cf6b5b68d7

View File

@@ -465,7 +465,7 @@ class App extends Component {
const allowMount = this.state.RepertoryVersion !== 'none'; const allowMount = this.state.RepertoryVersion !== 'none';
const missingDependencies = (this.state.MissingDependencies.length > 0); const missingDependencies = (this.state.MissingDependencies.length > 0);
const allowConfig = this.state.LocationsLookup[selectedVersion] && const allowConfig = this.state.LocationsLookup[selectedVersion] &&
!this.state.LocationsLookup[selectedVersion].config_allowed; this.state.LocationsLookup[selectedVersion].config_allowed;
const showDependencies = missingDependencies && const showDependencies = missingDependencies &&
!this.state.DownloadActive; !this.state.DownloadActive;