mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
detach namespace-store from kube-watch-api.ts, preload all namespaces by default with store.loadAll
Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
1 parent
78260278c0
commit
70daac0074
19 files changed
+63
-66
No files matched your search
@@ -25,9 +25,7 @@ interface Props extends KubeObjectDetailsProps<Job> {
|
||||
@observer
|
||||
export class JobDetails extends React.Component<Props> {
|
||||
async componentDidMount() {
|
||||
if (!podsStore.isLoaded) {
|
||||
podsStore.loadAll();
|
||||
}
|
||||
podsStore.loadSelectedNamespaces();
|
||||
}
|
||||
|
||||
render() {
|
||||
|
||||
Reference in new issue
Block a user