fix(loading): present loading from root nav controller

Closes #6121
This commit is contained in:
Adam Bradley
2016-04-14 21:55:15 -05:00
parent 98c2aab3b7
commit f972908b00

View File

@ -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);