mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(navController): fix this.add and _popTo ref
This commit is contained in:
@@ -146,7 +146,7 @@ export class Tabs extends NavController {
|
||||
* TODO
|
||||
*/
|
||||
addTab(tab) {
|
||||
this.add(tab.viewCtrl);
|
||||
this._add(tab.viewCtrl);
|
||||
|
||||
// return true/false if it's the initial tab
|
||||
return (this.length() === 1);
|
||||
|
||||
Reference in New Issue
Block a user