From c91fe40ff9d5795180aad491f46b89e4980edbdc Mon Sep 17 00:00:00 2001 From: Roman Date: Thu, 20 May 2021 15:50:33 +0300 Subject: [PATCH] merge fixes Signed-off-by: Roman --- src/main/catalog/catalog-entity-registry.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/catalog/catalog-entity-registry.ts b/src/main/catalog/catalog-entity-registry.ts index 8a69e18068..55162970a2 100644 --- a/src/main/catalog/catalog-entity-registry.ts +++ b/src/main/catalog/catalog-entity-registry.ts @@ -26,12 +26,10 @@ import { iter } from "../../common/utils"; export class CatalogEntityRegistry { protected sources = observable.map>(); - constructor() { + constructor(private categoryRegistry: CatalogCategoryRegistry) { makeObservable(this); } - constructor(private categoryRegistry: CatalogCategoryRegistry) {} - @action addObservableSource(id: string, source: IObservableArray) { this.sources.set(id, computed(() => source)); }