mirror of
https://github.com/portainer/portainer.git
synced 2025-07-23 15:29:42 +02:00
fix(ns): add selection caching back [EE-5273] (#8738)
Co-authored-by: testa113 <testa113>
This commit is contained in:
parent
bf56bdb8f6
commit
5ac1ea3df8
1 changed files with 4 additions and 2 deletions
|
@ -143,8 +143,10 @@ class KubernetesApplicationsController {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
onChangeNamespaceDropdown(namespace) {
|
onChangeNamespaceDropdown(namespaceName) {
|
||||||
this.state.namespaceName = namespace;
|
this.state.namespaceName = namespaceName;
|
||||||
|
// save the selected namespaceName in local storage with the key 'kubernetes_namespace_filter_${environmentId}_${userID}'
|
||||||
|
this.LocalStorage.storeNamespaceFilter(this.endpoint.Id, this.user.ID, namespaceName);
|
||||||
return this.$async(this.getApplicationsAsync);
|
return this.$async(this.getApplicationsAsync);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue