mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 03:00:58 +08:00
chore(): update to angular 7
This commit is contained in:

committed by
Manu MA

parent
5d0050157e
commit
3ac05214f1
@ -89,9 +89,9 @@ export class NavController {
|
||||
}
|
||||
|
||||
private guessDirection() {
|
||||
const index = this.stack.indexOf(document.location.href);
|
||||
const index = this.stack.indexOf(document.location!.href);
|
||||
if (index === -1) {
|
||||
this.stack.push(document.location.href);
|
||||
this.stack.push(document.location!.href);
|
||||
return 1;
|
||||
} else if (index < this.stack.length - 1) {
|
||||
this.stack = this.stack.slice(0, index + 1);
|
||||
|
Reference in New Issue
Block a user