Skip to content

Commit

Permalink
fix(loading): present loading from root nav controller
Browse files Browse the repository at this point in the history
Closes #6121
  • Loading branch information
adamdbradley committed Apr 15, 2016
1 parent 98c2aab commit f972908
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ionic/components/nav/nav-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -428,8 +428,8 @@ export class NavController extends Ion {
opts = {};
}

if (enteringView.usePortal && this._portal) {
return this._portal.present(enteringView, opts);
if (enteringView.usePortal && rootNav._portal) {
return rootNav._portal.present(enteringView, opts);
}

enteringView.setNav(rootNav);
Expand Down

0 comments on commit f972908

Please sign in to comment.