fix(navController): fix this.add and _popTo ref

This commit is contained in:
Adam Bradley
2015-10-09 00:16:25 -05:00
parent 72ad5c1fb5
commit 17f64370fd
2 changed files with 11 additions and 4 deletions

View File

@@ -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);