From 6a0dc61601514504e6a83e3ab78f8013ed2a1d44 Mon Sep 17 00:00:00 2001 From: Jari Kolehmainen Date: Wed, 7 Apr 2021 19:13:00 +0300 Subject: [PATCH] cleanup Signed-off-by: Jari Kolehmainen --- src/common/catalog-entity-registry.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/catalog-entity-registry.ts b/src/common/catalog-entity-registry.ts index 1c09231b54..e800fa88f9 100644 --- a/src/common/catalog-entity-registry.ts +++ b/src/common/catalog-entity-registry.ts @@ -2,7 +2,7 @@ import { action, computed, observable } from "mobx"; import { CatalogEntity } from "./catalog-entity"; export class CatalogEntityRegistry { - @observable.deep protected sources: Map = observable.map(new Map(), { deep: true }); + protected sources = observable.map([], { deep: true }); @action addSource(id: string, source: CatalogEntity[]) { this.sources.set(id, source);