mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix ClusterScoped kube APIs not subscribing (#2706)
* Fix ClusterScoped kube APIs not subscribing Signed-off-by: Sebastian Malton <sebastian@malton.name> * remove debug Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
768e1d14ca
commit
7b1b8e6321
4 files changed
+87
-25
No files matched your search
@@ -50,6 +50,7 @@ import { ReplicaSetScaleDialog } from "./+workloads-replicasets/replicaset-scale
|
||||
import { CommandContainer } from "./command-palette/command-container";
|
||||
import { KubeObjectStore } from "../kube-object.store";
|
||||
import { clusterContext } from "./context";
|
||||
import { namespaceStore } from "./+namespaces/namespace.store";
|
||||
|
||||
@observer
|
||||
export class App extends React.Component {
|
||||
@@ -84,7 +85,7 @@ export class App extends React.Component {
|
||||
|
||||
componentDidMount() {
|
||||
disposeOnUnmount(this, [
|
||||
kubeWatchApi.subscribeStores([podsStore, nodesStore, eventStore], {
|
||||
kubeWatchApi.subscribeStores([podsStore, nodesStore, eventStore, namespaceStore], {
|
||||
preload: true,
|
||||
})
|
||||
]);
|
||||
|
||||
Reference in new issue
Block a user