mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore(): update to angular 7
This commit is contained in:
committed by
Manu MA
parent
5d0050157e
commit
3ac05214f1
@@ -25,8 +25,6 @@ const DECLARATIONS = [
|
||||
d.CardTitle,
|
||||
d.Checkbox,
|
||||
d.Chip,
|
||||
d.ChipButton,
|
||||
d.ChipIcon,
|
||||
d.Col,
|
||||
d.Content,
|
||||
d.Datetime,
|
||||
|
||||
@@ -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