We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4e393b commit 5cb9d65Copy full SHA for 5cb9d65
src/components/nav/nav-controller-base.ts
@@ -195,7 +195,7 @@ export class NavControllerBase extends Ion implements NavController {
195
let leavingView = this.getByState(STATE_INIT_LEAVE);
196
if (!leavingView && this._isPortal) {
197
// if we didn't find an active view, and this is a portal
198
- let activeNav = this._app.getActiveNav();
+ let activeNav = <NavControllerBase>this._app.getActiveNav();
199
if (activeNav) {
200
leavingView = activeNav.getByState(STATE_INIT_LEAVE);
201
}
0 commit comments