fix(navController): check view loaded before element cache

This commit is contained in:
Adam Bradley
2015-11-25 11:58:07 -06:00
parent 4fc78d3e44
commit 89d4cd3a5b

View File

@@ -944,7 +944,7 @@ export class NavController extends Ion {
if (view.shouldDestroy) {
destroys.push(view);
} else {
} else if (view.isLoaded()) {
let shouldShow = (view === activeView) || (view === previousView);
this._renderView(view, shouldShow);
}