Merge pull request #1836 from NguyenTranHoangSym/SDA-4143_bugfix_main

SDA-4143: Adding bug fix
This commit is contained in:
NguyenTranHoangSym 2023-04-04 15:48:53 +07:00 committed by GitHub
commit a1db993397
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -254,9 +254,8 @@ export class WindowHandler {
this.isPodConfigured = !config.isFirstTimeLaunch();
this.didShowWelcomeScreen = false;
this.shouldShowWelcomeScreen =
!(this.globalConfig.url !== this.defaultUrl) ||
config.isFirstTimeLaunch() ||
!!this.config.enableBrowserLogin;
this.globalConfig.url.includes(this.defaultUrl) &&
(config.isFirstTimeLaunch() || !!this.config.enableBrowserLogin);
this.windowOpts = {
...this.getWindowOpts(