[Display window if dependencies are required] [Display window if UI upgrade is available]

This commit is contained in:
Scott E. Graves
2019-07-15 17:13:50 -05:00
parent f006beb8d9
commit 2c0bb97d10
2 changed files with 11 additions and 1 deletions

View File

@@ -13,6 +13,7 @@ import {
} from './release_version_actions';
import {
setApplicationReady,
showWindow,
shutdownApplication
} from './common_actions';
@@ -41,6 +42,9 @@ export const checkInstalled = (dependencies, version) => {
dispatch(setReleaseUpgradeAvailable(upgradeAvailable));
dispatch(setMissingDependencies(result.Dependencies));
dispatch(setAllowDownload(true));
if (result.Dependencies && (result.Dependencies.length > 0)) {
dispatch(showWindow());
}
};
if (result.Success) {