File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/core/src/components/nav Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -201,17 +201,17 @@ export class NavControllerBase implements NavOutlet {
201
201
}
202
202
203
203
@Method ( )
204
- setRouteId ( id : string , _ : any = { } , direction : number ) : Promise < boolean > {
204
+ setRouteId ( id : string , params : any = { } , direction : number ) : Promise < boolean > {
205
205
const active = this . getActive ( ) ;
206
206
if ( active && active . component === id ) {
207
207
return Promise . resolve ( false ) ;
208
208
}
209
209
if ( direction === 1 ) {
210
- return this . push ( id ) . then ( ( ) => true ) ;
210
+ return this . push ( id , params ) . then ( ( ) => true ) ;
211
211
} else if ( direction === - 1 && this . canGoBack ( ) ) {
212
212
return this . pop ( ) . then ( ( ) => true ) ;
213
213
}
214
- return this . setRoot ( id ) . then ( ( ) => true ) ;
214
+ return this . setRoot ( id , params ) . then ( ( ) => true ) ;
215
215
}
216
216
217
217
@Method ( )
You can’t perform that action at this time.
0 commit comments