mirror of
https://github.com/portainer/portainer.git
synced 2025-07-23 15:29:42 +02:00
feat(applications): application page performance improvements EE-4956 (#8569)
This commit is contained in:
parent
01ea9afe33
commit
bdde278139
13 changed files with 239 additions and 9 deletions
|
@ -35,7 +35,8 @@ class KubernetesResourcePoolController {
|
|||
KubernetesPodService,
|
||||
KubernetesApplicationService,
|
||||
KubernetesIngressService,
|
||||
KubernetesVolumeService
|
||||
KubernetesVolumeService,
|
||||
KubernetesNamespaceService
|
||||
) {
|
||||
Object.assign(this, {
|
||||
$async,
|
||||
|
@ -54,6 +55,7 @@ class KubernetesResourcePoolController {
|
|||
KubernetesApplicationService,
|
||||
KubernetesIngressService,
|
||||
KubernetesVolumeService,
|
||||
KubernetesNamespaceService,
|
||||
});
|
||||
|
||||
this.IngressClassTypes = KubernetesIngressClassTypes;
|
||||
|
@ -219,6 +221,7 @@ class KubernetesResourcePoolController {
|
|||
return;
|
||||
}
|
||||
await this.KubernetesResourcePoolService.toggleSystem(this.endpoint.Id, namespaceName, !this.isSystem);
|
||||
await this.KubernetesNamespaceService.refreshCacheAsync();
|
||||
|
||||
this.Notifications.success('Namespace successfully updated', namespaceName);
|
||||
this.$state.reload(this.$state.current);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue