mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
fix(nav-controller): insert should return a promise
This commit is contained in:
@ -332,6 +332,7 @@ export class NavController extends Ion {
|
||||
|
||||
this._incrementId(viewCtrl);
|
||||
this._views.splice(index, 0, viewCtrl);
|
||||
return Promise.resolve();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user