#17: Prompt for UI upgrade before dependency installation
This commit is contained in:
@@ -576,9 +576,6 @@ class App extends IPCContainer {
|
||||
const noConsoleSupported = this.state.LocationsLookup[selectedVersion] &&
|
||||
this.state.LocationsLookup[selectedVersion].no_console_supported;
|
||||
|
||||
const showDependencies = missingDependencies &&
|
||||
!this.state.DownloadActive;
|
||||
|
||||
const showConfig = !missingDependencies &&
|
||||
this.state.ConfigStorageType &&
|
||||
allowConfig;
|
||||
@@ -586,10 +583,13 @@ class App extends IPCContainer {
|
||||
const showUpgrade = this.state.UpgradeAvailable &&
|
||||
!this.state.DisplayError &&
|
||||
!showConfig &&
|
||||
!missingDependencies &&
|
||||
!this.state.DownloadActive &&
|
||||
!this.state.UpgradeDismissed;
|
||||
|
||||
const showDependencies = !showUpgrade &&
|
||||
missingDependencies &&
|
||||
!this.state.DownloadActive;
|
||||
|
||||
let errorDisplay = null;
|
||||
if (this.state.DisplayError) {
|
||||
errorDisplay = (
|
||||
|
||||
Reference in New Issue
Block a user