Skip to content

Commit 8742511

Browse files
fix(attachRoute): Do not update URL after syncing from url
Set `{ location: false }` when transition originates from a URL parse. Related to #1573 Closes #2730
1 parent b3d3b56 commit 8742511

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/state/stateQueueManager.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export class StateQueueManager {
8383

8484
$urlRouterProvider.when(state.url, ['$match', '$stateParams', function ($match, $stateParams) {
8585
if ($state.$current.navigable !== state || !equalForKeys($match, $stateParams)) {
86-
$state.transitionTo(state, $match, { inherit: true });
86+
$state.transitionTo(state, $match, { inherit: true, location: false });
8787
}
8888
}]);
8989
}

0 commit comments

Comments
 (0)