mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +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._incrementId(viewCtrl);
|
||||||
this._views.splice(index, 0, viewCtrl);
|
this._views.splice(index, 0, viewCtrl);
|
||||||
|
return Promise.resolve();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user