Revert cleanup

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2022-07-22 15:10:05 -04:00
1 parent dc6bbca0ad
commit ae20098cbb
1 file changed
+1 -1
+1 -1
View File
@@ -60,7 +60,7 @@ export class CatalogEntityRegistry {
// If the entity was not found but there are rawEntities to be processed, // If the entity was not found but there are rawEntities to be processed,
// try to process them and return the entity. // try to process them and return the entity.
// This might happen if an extension registered a new Catalog category. // 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(); this.processRawEntities();
return this.getActiveEntityById(); return this.getActiveEntityById();