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:
Roman committed 2021-01-27 18:48:38 +02:00
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() {