Browse Source
Merge pull request #8054 from vvlladd28/bug/state-params/request
Fixed incorrect resolve state entity
pull/8057/head
Igor Kulikov
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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, |
|
|
|
|