1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-04 13:25:26 +02:00

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
This commit is contained in:
fhanportainer 2021-09-23 09:13:25 +12:00 committed by GitHub
parent a6138dd5a3
commit d14c7b0309
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
);