From 471d559f670a0f1c328a77d332f13a4e4d5cd924 Mon Sep 17 00:00:00 2001 From: DaEunLee Date: Tue, 2 Aug 2022 02:51:26 +0000 Subject: [PATCH] fix: manual image name field to be optional, not required, when in debug mode (#1397) --- src/components/backend-ai-session-launcher.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/backend-ai-session-launcher.ts b/src/components/backend-ai-session-launcher.ts index 2c1831299b..483beb6204 100644 --- a/src/components/backend-ai-session-launcher.ts +++ b/src/components/backend-ai-session-launcher.ts @@ -1366,7 +1366,7 @@ export default class BackendAiSessionLauncher extends BackendAIPage { config['env']['OPENBLAS_NUM_THREADS'] = openBLASCoreValue ? Math.max(0, parseInt(openBLASCoreValue)).toString() : '1'; } let kernelName: string; - if (this._debug || ( this.manualImageName && this.manualImageName.value !== '')) { + if ((this._debug && this.manualImageName.value !== '') || ( this.manualImageName && this.manualImageName.value !== '')) { kernelName = this.manualImageName.value; } else { kernelName = this._generateKernelIndex(kernel, version);