File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ export class AbstractHistory extends History {
51
51
this . updateRoute ( route )
52
52
} ,
53
53
err => {
54
- if ( isRouterError ( err , NavigationFailureType . NAVIGATION_DUPLICATED ) ) {
54
+ if ( isRouterError ( err , NavigationFailureType . duplicated ) ) {
55
55
this . index = targetIndex
56
56
}
57
57
}
Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ export class History {
114
114
// When the user navigates through history through back/forward buttons
115
115
// we do not want to throw the error. We only throw it if directly calling
116
116
// push/replace. That's why it's not included in isError
117
- if ( ! isRouterError ( err , NavigationFailureType . NAVIGATION_DUPLICATED ) && isError ( err ) ) {
117
+ if ( ! isRouterError ( err , NavigationFailureType . duplicated ) && isError ( err ) ) {
118
118
if ( this . errorCbs . length ) {
119
119
this . errorCbs . forEach ( cb => {
120
120
cb ( err )
You can’t perform that action at this time.
0 commit comments