From 98132e3589de2e3753d4d15588905ac1597856ce Mon Sep 17 00:00:00 2001 From: Oleksii Kurinnyi Date: Fri, 20 Dec 2024 18:17:29 +0200 Subject: [PATCH] fix: factory with SSH URL --- .../WorkspaceProgress/CreatingSteps/Apply/Devfile/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/dashboard-frontend/src/components/WorkspaceProgress/CreatingSteps/Apply/Devfile/index.tsx b/packages/dashboard-frontend/src/components/WorkspaceProgress/CreatingSteps/Apply/Devfile/index.tsx index 58fa76b56..3baea6f7d 100644 --- a/packages/dashboard-frontend/src/components/WorkspaceProgress/CreatingSteps/Apply/Devfile/index.tsx +++ b/packages/dashboard-frontend/src/components/WorkspaceProgress/CreatingSteps/Apply/Devfile/index.tsx @@ -321,7 +321,8 @@ class CreatingStepApplyDevfile extends ProgressStep { if (resolvedDevfile === undefined) { throw new Error('Failed to resolve the devfile.'); } - this.updateCurrentDevfile(resolvedDevfile); + const _devfile = cloneDeep(resolvedDevfile); + this.updateCurrentDevfile(_devfile); } else { const { devfile } = this.state; if (devfile) {