Browse Source

UI: Fixed incorrect resolve state entity

pull/8054/head
Vladyslav_Prykhodko 4 years ago
parent
commit
ed2604a099
  1. 2
      ui-ngx/src/app/core/http/entity.service.ts

2
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,

Loading…
Cancel
Save