Skip to content

Commit

Permalink
fix(nav): remove bad assert
Browse files Browse the repository at this point in the history
  • Loading branch information
manucorporat committed Oct 6, 2017
1 parent c91223b commit ae4be66
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/navigation/nav-controller-base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -865,8 +865,6 @@ export class NavControllerBase extends Ion implements NavController {
// only do this if the views exist, though
if (!this._destroyed) {
const activeViewIndex = this._views.indexOf(activeView);
assert(activeViewIndex >= 0, 'active index is invalid');

const views = this._views;
let reorderZIndexes = false;
let view: ViewController;
Expand Down

0 comments on commit ae4be66

Please sign in to comment.