mirror of https://github.com/portainer/portainer
fix(ns): add selection caching back [EE-5273] (#8738)
Co-authored-by: testa113 <testa113>pull/8746/head
parent
bf56bdb8f6
commit
5ac1ea3df8
|
@ -143,8 +143,10 @@ class KubernetesApplicationsController {
|
|||
});
|
||||
}
|
||||
|
||||
onChangeNamespaceDropdown(namespace) {
|
||||
this.state.namespaceName = namespace;
|
||||
onChangeNamespaceDropdown(namespaceName) {
|
||||
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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue