mirror of https://github.com/portainer/portainer
fix(ns): add selection caching back [EE-5273] (#8739)
Co-authored-by: testa113 <testa113>pull/8756/head
parent
78b83420bf
commit
8ab490f224
|
@ -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…
Reference in New Issue