Skip to content

Commit 5cb9d65

Browse files
committed
chore(): fix type check error
1 parent a4e393b commit 5cb9d65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/nav/nav-controller-base.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ export class NavControllerBase extends Ion implements NavController {
195195
let leavingView = this.getByState(STATE_INIT_LEAVE);
196196
if (!leavingView && this._isPortal) {
197197
// if we didn't find an active view, and this is a portal
198-
let activeNav = this._app.getActiveNav();
198+
let activeNav = <NavControllerBase>this._app.getActiveNav();
199199
if (activeNav) {
200200
leavingView = activeNav.getByState(STATE_INIT_LEAVE);
201201
}

0 commit comments

Comments
 (0)