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
pull/5710/head
fhanportainer 3 years ago committed by GitHub
parent a6138dd5a3
commit d14c7b0309
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -20,7 +20,7 @@ class KubernetesSummaryController {
$scope.$watch( $scope.$watch(
'$ctrl.formValues', '$ctrl.formValues',
(formValues) => { (formValues) => {
this.state.resources = this.generateResourceSummaryList(formValues); this.state.resources = this.generateResourceSummaryList(angular.copy(formValues));
}, },
true true
); );

Loading…
Cancel
Save