mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 21:39:40 +02:00
fix(UI): app summary on forvalues update [EE-6515] (#10932)
Some checks are pending
ci / build_images (map[arch:amd64 platform:linux]) (push) Waiting to run
ci / build_images (map[arch:amd64 platform:windows version:1809]) (push) Waiting to run
ci / build_images (map[arch:amd64 platform:windows version:ltsc2022]) (push) Waiting to run
ci / build_images (map[arch:arm64 platform:linux]) (push) Waiting to run
ci / build_manifests (push) Blocked by required conditions
/ triage (push) Waiting to run
Lint / Run linters (push) Waiting to run
Test / test-client (push) Waiting to run
Test / test-server (map[arch:amd64 platform:linux]) (push) Waiting to run
Test / test-server (map[arch:amd64 platform:windows version:1809]) (push) Waiting to run
Test / test-server (map[arch:amd64 platform:windows version:ltsc2022]) (push) Waiting to run
Test / test-server (map[arch:arm64 platform:linux]) (push) Waiting to run
Some checks are pending
ci / build_images (map[arch:amd64 platform:linux]) (push) Waiting to run
ci / build_images (map[arch:amd64 platform:windows version:1809]) (push) Waiting to run
ci / build_images (map[arch:amd64 platform:windows version:ltsc2022]) (push) Waiting to run
ci / build_images (map[arch:arm64 platform:linux]) (push) Waiting to run
ci / build_manifests (push) Blocked by required conditions
/ triage (push) Waiting to run
Lint / Run linters (push) Waiting to run
Test / test-client (push) Waiting to run
Test / test-server (map[arch:amd64 platform:linux]) (push) Waiting to run
Test / test-server (map[arch:amd64 platform:windows version:1809]) (push) Waiting to run
Test / test-server (map[arch:amd64 platform:windows version:ltsc2022]) (push) Waiting to run
Test / test-server (map[arch:arm64 platform:linux]) (push) Waiting to run
* app summary on forvalues update * comment added
This commit is contained in:
parent
b7635feff0
commit
d0b9e3a732
2 changed files with 61 additions and 12 deletions
|
@ -37,6 +37,7 @@ class KubernetesCreateApplicationController {
|
|||
$scope,
|
||||
$async,
|
||||
$state,
|
||||
$timeout,
|
||||
Notifications,
|
||||
Authentication,
|
||||
KubernetesResourcePoolService,
|
||||
|
@ -54,6 +55,7 @@ class KubernetesCreateApplicationController {
|
|||
this.$scope = $scope;
|
||||
this.$async = $async;
|
||||
this.$state = $state;
|
||||
this.$timeout = $timeout;
|
||||
this.Notifications = Notifications;
|
||||
this.Authentication = Authentication;
|
||||
this.KubernetesResourcePoolService = KubernetesResourcePoolService;
|
||||
|
@ -148,9 +150,26 @@ class KubernetesCreateApplicationController {
|
|||
this.updateApplicationType = this.updateApplicationType.bind(this);
|
||||
this.getAppType = this.getAppType.bind(this);
|
||||
this.showDataAccessPolicySection = this.showDataAccessPolicySection.bind(this);
|
||||
this.refreshReactComponent = this.refreshReactComponent.bind(this);
|
||||
|
||||
this.$scope.$watch(
|
||||
() => this.formValues,
|
||||
() => {
|
||||
this.refreshReactComponent();
|
||||
},
|
||||
_.isEqual
|
||||
);
|
||||
}
|
||||
/* #endregion */
|
||||
|
||||
refreshReactComponent() {
|
||||
this.isTemporaryRefresh = true;
|
||||
|
||||
this.$timeout(() => {
|
||||
this.isTemporaryRefresh = false;
|
||||
}, 10);
|
||||
}
|
||||
|
||||
onChangePlacements(values) {
|
||||
return this.$async(async () => {
|
||||
this.formValues.Placements = values.placements;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue