chore(): update to angular 7

This commit is contained in:
Manu Mtz.-Almeida
2018-11-12 15:47:07 +01:00
committed by Manu MA
parent 5d0050157e
commit 3ac05214f1
6 changed files with 15 additions and 17 deletions

View File

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