mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
1 parent
7cb16f7622
commit
f59bdec9a9
1 file changed
+1
-1
@@ -69,7 +69,7 @@ export class ApiManager<TKubeObject extends KubeObject = any> {
|
||||
}
|
||||
|
||||
@action
|
||||
registerStore(store: KubeObjectStore<any>, apis: KubeApi<any>[] = [store.api]) {
|
||||
registerStore(store: KubeObjectStore<TKubeObject>, apis: KubeApi<TKubeObject>[] = [store.api]) {
|
||||
apis.filter(Boolean).forEach(api => {
|
||||
if (api.apiBase) this.stores.set(api.apiBase, store);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user