From 235ca8e4594dba9bb436faeac103f07918022d06 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 20 May 2020 17:18:37 +0530 Subject: [PATCH] track3 - check workspace namespace before returning CloudShellExec --- .../src/components/cloud-shell/CloudShellTerminal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/packages/console-app/src/components/cloud-shell/CloudShellTerminal.tsx b/frontend/packages/console-app/src/components/cloud-shell/CloudShellTerminal.tsx index e4539b02418..08c8179b003 100644 --- a/frontend/packages/console-app/src/components/cloud-shell/CloudShellTerminal.tsx +++ b/frontend/packages/console-app/src/components/cloud-shell/CloudShellTerminal.tsx @@ -91,7 +91,7 @@ const CloudShellTerminal: React.FC = ({ username, onCan ); } - if (initData) { + if (initData && workspaceNamespace) { return (