diff --git a/src/common/k8s-api/kube-object.store.ts b/src/common/k8s-api/kube-object.store.ts index 0c1473b4e4..dc428eb08b 100644 --- a/src/common/k8s-api/kube-object.store.ts +++ b/src/common/k8s-api/kube-object.store.ts @@ -59,10 +59,6 @@ export abstract class KubeObjectStore extends ItemStore super(); if (api) this.api = api; - if (!this.api) { - throw new Error("api is not defined"); - } - makeObservable(this); autoBind(this); this.bindWatchEventsUpdater();