SDA-4507 - Fix condition for force welcome screen (#2117)

This commit is contained in:
Kiran Niranjan 2024-03-24 06:23:29 +05:30 committed by GitHub
parent 3dde3d0678
commit e1dbc8eb0c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -288,8 +288,12 @@ export class WindowHandler {
config.isFirstTimeLaunch()) ||
!!this.config.enableBrowserLogin;
// Force welcome screen if pod url is not configured correctly
this.shouldShowWelcomeScreen =
!!this.userConfig.url && this.userConfig.url.includes(this.defaultUrl);
if (
!!this.userConfig.url &&
this.userConfig.url.includes(this.defaultUrl)
) {
this.shouldShowWelcomeScreen = true;
}
this.windowOpts = {
...this.getWindowOpts(