mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
less any
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
parent
7cb16f7622
commit
f59bdec9a9
@ -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);
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user