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) {