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

@@ -80,7 +80,7 @@ export class AddRoleBindingDialog extends React.Component<Props> {
];
this.isLoading = true;
await Promise.all(stores.map(store => store.loadAll()));
await Promise.all(stores.map(store => store.loadSelectedNamespaces()));
this.isLoading = false;
}