added explicit preload: true when subscribing stores

Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
Roman committed 2021-01-26 16:07:25 +02:00
1 parent 5bc3eab366
commit 99afe46a5e
3 files changed
+5 -3

No files matched your search

@@ -33,7 +33,7 @@ export class NamespaceSelect extends React.Component<Props> {
componentDidMount() {
disposeOnUnmount(this, [
kubeWatchApi.subscribeStores([namespaceStore], {
preload: !namespaceStore.isLoaded,
preload: true,
})
]);
}
@@ -22,7 +22,7 @@ export class ServiceDetails extends React.Component<Props> {
componentDidMount() {
disposeOnUnmount(this, [
kubeWatchApi.subscribeStores([endpointStore], {
preload: !endpointStore.isLoaded,
preload: true,
}),
]);
}
@@ -27,7 +27,9 @@ export class WorkloadsOverview extends React.Component<Props> {
kubeWatchApi.subscribeStores([
podsStore, deploymentStore, daemonSetStore, statefulSetStore, replicaSetStore,
jobStore, cronJobStore, eventStore,
]),
], {
preload: true,
}),
]);
}