From ed2604a0997b9d4517f3b67d1c33a6ac23221ed2 Mon Sep 17 00:00:00 2001 From: Vladyslav_Prykhodko Date: Tue, 7 Feb 2023 15:44:21 +0200 Subject: [PATCH] UI: Fixed incorrect resolve state entity --- ui-ngx/src/app/core/http/entity.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui-ngx/src/app/core/http/entity.service.ts b/ui-ngx/src/app/core/http/entity.service.ts index c11cc03fda..3ed84b1b86 100644 --- a/ui-ngx/src/app/core/http/entity.service.ts +++ b/ui-ngx/src/app/core/http/entity.service.ts @@ -876,7 +876,7 @@ export class EntityService { if (result.entityParamName && result.entityParamName.length) { targetParams = stateParams[result.entityParamName]; } - if (targetParams && targetParams.entityId) { + if (targetParams && targetParams.entityId && targetParams.entityName) { currentEntity = { id: targetParams.entityId.id, entityType: targetParams.entityId.entityType as EntityType,