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();