Skip to content

Commit 8346dd5

Browse files
committed
AZ-26887 Always transition
1 parent ea457dd commit 8346dd5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ui-router/angular-ui-router.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2443,9 +2443,7 @@ function $StateProvider( $urlRouterProvider, $urlMatcherFactory) {
24432443
// Register the state in the global state list and with $urlRouter if necessary.
24442444
if (!state[abstractKey] && state.url) {
24452445
$urlRouterProvider.when(state.url, ['$match', '$stateParams', function ($match, $stateParams) {
2446-
if ($state.$current.navigable != state || !equalForKeys($match, $stateParams)) {
2447-
$state.transitionTo(state, $match, { inherit: true, location: false });
2448-
}
2446+
$state.transitionTo(state, $match, { inherit: true, location: false });
24492447
}]);
24502448
}
24512449

0 commit comments

Comments
 (0)