File tree 1 file changed +1
-6
lines changed
1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -78,11 +78,7 @@ export class TransitionManager {
78
78
// Handle redirect and abort
79
79
if ( error instanceof Rejection ) {
80
80
if ( error . type === RejectType . IGNORED ) {
81
- // Update $stateParmas/$state.params/$location.url if transition ignored, but dynamic params have changed.
82
- let dynamic = $state . $current . parameters ( ) . filter ( prop ( 'dynamic' ) ) ;
83
- if ( ! Param . equals ( dynamic , $state . params , transition . params ( ) ) ) {
84
- this . updateUrl ( ) ;
85
- }
81
+ this . $urlRouter . update ( ) ;
86
82
return $state . current ;
87
83
}
88
84
@@ -104,7 +100,6 @@ export class TransitionManager {
104
100
let transition = this . transition ;
105
101
let { $urlRouter, $state} = this ;
106
102
let options = transition . options ( ) ;
107
- var toState = transition . $to ( ) ;
108
103
109
104
if ( options . location && $state . $current . navigable ) {
110
105
$urlRouter . push ( $state . $current . navigable . url , $state . params , { replace : options . location === 'replace' } ) ;
You can’t perform that action at this time.
0 commit comments