mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
added explicit preload: true when subscribing stores
Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
parent
5bc3eab366
commit
99afe46a5e
@ -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,
|
||||
}),
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user