Commit ddcf713f04a317caeafc693a9c6db88af2806639
1 parent
467e6399
UI: Fixed dashboard state names processing.
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -141,7 +141,7 @@ export default function EntityStateController($scope, $location, $state, $stateP | @@ -141,7 +141,7 @@ export default function EntityStateController($scope, $location, $state, $stateP | ||
141 | result = utils.insertVariable(stateName, 'entityName', entityName); | 141 | result = utils.insertVariable(stateName, 'entityName', entityName); |
142 | for (var prop in params) { | 142 | for (var prop in params) { |
143 | if (params[prop] && params[prop].entityName) { | 143 | if (params[prop] && params[prop].entityName) { |
144 | - result = utils.insertVariable(stateName, prop + ':entityName', params[prop].entityName); | 144 | + result = utils.insertVariable(result, prop + ':entityName', params[prop].entityName); |
145 | } | 145 | } |
146 | } | 146 | } |
147 | } | 147 | } |