Skip to content

Commit 6cc6feb

Browse files
ADjenkovSvetoslavTsenov
authored andcommitted
Change to new locaiton strategy API (#39)
1 parent 302a471 commit 6cc6feb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/navigation-options/navigation-info.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ export class NavigationInfoComponent {
2323
update() {
2424
// If history is cleared: frameStack = 0, locationStack = 1
2525
this.frameStack = this.frame.backStack.length;
26-
this.locationStack = this.strategy._getStates()["primary"].length;
26+
this.locationStack = this.strategy.findOutletByOutletPath("primary").states.length;
2727
}
2828
}

0 commit comments

Comments
 (0)