mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
remove throw for backward compat reasons
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
parent
0925a5e32e
commit
d5d7ffba9f
@ -59,10 +59,6 @@ export abstract class KubeObjectStore<T extends KubeObject> extends ItemStore<T>
|
||||
super();
|
||||
if (api) this.api = api;
|
||||
|
||||
if (!this.api) {
|
||||
throw new Error("api is not defined");
|
||||
}
|
||||
|
||||
makeObservable(this);
|
||||
autoBind(this);
|
||||
this.bindWatchEventsUpdater();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user