[MM-48079] Dont show server login when GPO has preconfigured servers (#2346)
* Show onboarding server screen only when teams.length is 0 * Add tests * Add more tests * Fix issue where callback would not re-evaluate variables
This commit is contained in:
@@ -406,9 +406,7 @@ function initializeAfterAppReady() {
|
||||
|
||||
// only check for non-Windows, as with Windows we have to wait for GPO teams
|
||||
if (process.platform !== 'win32' || typeof Config.registryConfigData !== 'undefined') {
|
||||
if (Config.teams.length === 0) {
|
||||
handleMainWindowIsShown();
|
||||
}
|
||||
handleMainWindowIsShown();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user