diff --git a/packages/core/src/renderer/kube-watch-api/kube-watch-api.ts b/packages/core/src/renderer/kube-watch-api/kube-watch-api.ts index 04d6ccb32b..110ed61472 100644 --- a/packages/core/src/renderer/kube-watch-api/kube-watch-api.ts +++ b/packages/core/src/renderer/kube-watch-api/kube-watch-api.ts @@ -103,7 +103,7 @@ export class KubeWatchApi { return () => this.#watch.dec(store); } - namespaces ??= this.dependencies.clusterContext?.contextNamespaces ?? []; + namespaces ??= this.dependencies.clusterContext.contextNamespaces ?? []; let childController = new WrappedAbortController(parent); const unsubscribe = disposer();