fix(tabs): remove from parent nav when destroyed

This commit is contained in:
Max Lynch
2016-10-06 19:23:01 -05:00
parent f34d0c298e
commit 5156917d78

View File

@ -297,6 +297,10 @@ export class Tabs extends Ion implements AfterViewInit {
}
}
ngOnDestroy() {
this.parent.unregisterChildNav(this);
}
/**
* @internal
*/