From e1dbc8eb0c2e229b2d3ccc57284ede67b079b3a4 Mon Sep 17 00:00:00 2001 From: Kiran Niranjan Date: Sun, 24 Mar 2024 06:23:29 +0530 Subject: [PATCH] SDA-4507 - Fix condition for force welcome screen (#2117) --- src/app/window-handler.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/app/window-handler.ts b/src/app/window-handler.ts index bb7dfa20..9a7bd95f 100644 --- a/src/app/window-handler.ts +++ b/src/app/window-handler.ts @@ -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(