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

Co-authored-by: testa113 <testa113>
pull/8756/head
Ali 2 years ago committed by GitHub
parent 78b83420bf
commit 8ab490f224
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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