#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] &&
|
const noConsoleSupported = this.state.LocationsLookup[selectedVersion] &&
|
||||||
this.state.LocationsLookup[selectedVersion].no_console_supported;
|
this.state.LocationsLookup[selectedVersion].no_console_supported;
|
||||||
|
|
||||||
const showDependencies = missingDependencies &&
|
|
||||||
!this.state.DownloadActive;
|
|
||||||
|
|
||||||
const showConfig = !missingDependencies &&
|
const showConfig = !missingDependencies &&
|
||||||
this.state.ConfigStorageType &&
|
this.state.ConfigStorageType &&
|
||||||
allowConfig;
|
allowConfig;
|
||||||
@@ -586,10 +583,13 @@ class App extends IPCContainer {
|
|||||||
const showUpgrade = this.state.UpgradeAvailable &&
|
const showUpgrade = this.state.UpgradeAvailable &&
|
||||||
!this.state.DisplayError &&
|
!this.state.DisplayError &&
|
||||||
!showConfig &&
|
!showConfig &&
|
||||||
!missingDependencies &&
|
|
||||||
!this.state.DownloadActive &&
|
!this.state.DownloadActive &&
|
||||||
!this.state.UpgradeDismissed;
|
!this.state.UpgradeDismissed;
|
||||||
|
|
||||||
|
const showDependencies = !showUpgrade &&
|
||||||
|
missingDependencies &&
|
||||||
|
!this.state.DownloadActive;
|
||||||
|
|
||||||
let errorDisplay = null;
|
let errorDisplay = null;
|
||||||
if (this.state.DisplayError) {
|
if (this.state.DisplayError) {
|
||||||
errorDisplay = (
|
errorDisplay = (
|
||||||
|
|||||||
Reference in New Issue
Block a user