File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 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 {
5151 this . updateRoute ( route )
5252 } ,
5353 err => {
54- if ( isRouterError ( err , NavigationFailureType . NAVIGATION_DUPLICATED ) ) {
54+ if ( isRouterError ( err , NavigationFailureType . duplicated ) ) {
5555 this . index = targetIndex
5656 }
5757 }
Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ export class History {
114114 // When the user navigates through history through back/forward buttons
115115 // we do not want to throw the error. We only throw it if directly calling
116116 // 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 ) ) {
118118 if ( this . errorCbs . length ) {
119119 this . errorCbs . forEach ( cb => {
120120 cb ( err )
You can’t perform that action at this time.
0 commit comments