mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
fix(tabs): remove from parent nav when destroyed
This commit is contained in:
@ -297,6 +297,10 @@ export class Tabs extends Ion implements AfterViewInit {
|
||||
}
|
||||
}
|
||||
|
||||
ngOnDestroy() {
|
||||
this.parent.unregisterChildNav(this);
|
||||
}
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
|
Reference in New Issue
Block a user