From a78aeba55049734ba2854f384de161cdcff4c5fe Mon Sep 17 00:00:00 2001 From: Oleksii Kurinnyi Date: Mon, 23 Dec 2024 17:07:12 +0200 Subject: [PATCH] fix: factory with SSH URL (#1281) --- .../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) {