UI: Fixed incorrect resolve state entity
This commit is contained in:
parent
25db432715
commit
ed2604a099
@ -876,7 +876,7 @@ export class EntityService {
|
|||||||
if (result.entityParamName && result.entityParamName.length) {
|
if (result.entityParamName && result.entityParamName.length) {
|
||||||
targetParams = stateParams[result.entityParamName];
|
targetParams = stateParams[result.entityParamName];
|
||||||
}
|
}
|
||||||
if (targetParams && targetParams.entityId) {
|
if (targetParams && targetParams.entityId && targetParams.entityName) {
|
||||||
currentEntity = {
|
currentEntity = {
|
||||||
id: targetParams.entityId.id,
|
id: targetParams.entityId.id,
|
||||||
entityType: targetParams.entityId.entityType as EntityType,
|
entityType: targetParams.entityId.entityType as EntityType,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user