Skip to content

Commit

Permalink
fix(tabs): remove from parent nav when destroyed
Browse files Browse the repository at this point in the history
  • Loading branch information
mlynch committed Oct 7, 2016
1 parent f34d0c2 commit 5156917
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/tabs/tabs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,10 @@ export class Tabs extends Ion implements AfterViewInit {
}
}

ngOnDestroy() {
this.parent.unregisterChildNav(this);
}

/**
* @internal
*/
Expand Down

0 comments on commit 5156917

Please sign in to comment.