From d14c7b030966093dd07dc65a040e95aeb89469e3 Mon Sep 17 00:00:00 2001 From: fhanportainer <79428273+fhanportainer@users.noreply.github.com> Date: Thu, 23 Sep 2021 09:13:25 +1200 Subject: [PATCH] fix(name): fixed namespace creation issue when a registry attached. (#5646) * fix(name): fixed namespace creation issue when a registry attached. * fix(name): moved copy object to upper level of the function --- app/kubernetes/views/summary/summaryController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/kubernetes/views/summary/summaryController.js b/app/kubernetes/views/summary/summaryController.js index 0579569e3..9fe014039 100644 --- a/app/kubernetes/views/summary/summaryController.js +++ b/app/kubernetes/views/summary/summaryController.js @@ -20,7 +20,7 @@ class KubernetesSummaryController { $scope.$watch( '$ctrl.formValues', (formValues) => { - this.state.resources = this.generateResourceSummaryList(formValues); + this.state.resources = this.generateResourceSummaryList(angular.copy(formValues)); }, true );