merge fixes

Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
Roman committed 2021-05-20 15:50:33 +03:00
1 parent e97549205a
commit c91fe40ff9
1 file changed
+1 -3
+1 -3
View File
@@ -26,12 +26,10 @@ import { iter } from "../../common/utils";
export class CatalogEntityRegistry {
protected sources = observable.map<string, IComputedValue<CatalogEntity[]>>();
constructor() {
constructor(private categoryRegistry: CatalogCategoryRegistry) {
makeObservable(this);
}
constructor(private categoryRegistry: CatalogCategoryRegistry) {}
@action addObservableSource(id: string, source: IObservableArray<CatalogEntity>) {
this.sources.set(id, computed(() => source));
}