Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen committed 2022-03-03 12:45:52 +02:00
1 parent 7cb16f7622
commit f59bdec9a9
1 file changed
+1 -1
+1 -1
View File
@@ -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);
});