From ae20098cbbee1c26cbeb51246036236bbc7c79dc Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Fri, 22 Jul 2022 15:10:05 -0400 Subject: [PATCH] Revert cleanup Signed-off-by: Sebastian Malton --- src/renderer/api/catalog/entity/registry.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/api/catalog/entity/registry.ts b/src/renderer/api/catalog/entity/registry.ts index 42035d6306..1f53cf3d94 100644 --- a/src/renderer/api/catalog/entity/registry.ts +++ b/src/renderer/api/catalog/entity/registry.ts @@ -60,7 +60,7 @@ export class CatalogEntityRegistry { // If the entity was not found but there are rawEntities to be processed, // try to process them and return the entity. // This might happen if an extension registered a new Catalog category. - if (this.activeEntityId.get() && !entity && this.rawEntities.length > 0) { + if (this.activeEntityId && !entity && this.rawEntities.length > 0) { this.processRawEntities(); return this.getActiveEntityById();