fix(ns): add selection caching back [EE-5273] (#8738)

Co-authored-by: testa113 <testa113>
pull/8746/head
Ali 2 years ago committed by GitHub
parent bf56bdb8f6
commit 5ac1ea3df8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save