mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 13:32:54 +08:00
chore(): fix type check error
This commit is contained in:
@ -195,7 +195,7 @@ export class NavControllerBase extends Ion implements NavController {
|
|||||||
let leavingView = this.getByState(STATE_INIT_LEAVE);
|
let leavingView = this.getByState(STATE_INIT_LEAVE);
|
||||||
if (!leavingView && this._isPortal) {
|
if (!leavingView && this._isPortal) {
|
||||||
// if we didn't find an active view, and this is a portal
|
// if we didn't find an active view, and this is a portal
|
||||||
let activeNav = this._app.getActiveNav();
|
let activeNav = <NavControllerBase>this._app.getActiveNav();
|
||||||
if (activeNav) {
|
if (activeNav) {
|
||||||
leavingView = activeNav.getByState(STATE_INIT_LEAVE);
|
leavingView = activeNav.getByState(STATE_INIT_LEAVE);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user