Skip to content

Commit 101b9a4

Browse files
Merge pull request #1668 from NativeScript/release-7.1.1
release: cut the 7.1.1 release
2 parents 01642aa + d419285 commit 101b9a4

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

Diff for: CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
<a name="7.1.1"></a>
2+
## [7.1.1](https://github.com/NativeScript/nativescript-angular/compare/7.1.0...7.1.1) (2018-12-20)
3+
4+
5+
### Bug Fixes
6+
7+
* **page-router-outlet:** prevent needless forward navigation after back inside nested named outlet ([d8a0653](https://github.com/NativeScript/nativescript-angular/commit/d8a0653))
8+
9+
10+
111
<a name="7.1.0"></a>
212
# [7.1.0](https://github.com/NativeScript/nativescript-angular/compare/7.0.3...7.1.0) (2018-12-07)
313

Diff for: nativescript-angular/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nativescript-angular",
3-
"version": "7.1.0",
3+
"version": "7.1.1",
44
"description": "An Angular renderer that lets you build mobile apps with NativeScript.",
55
"homepage": "https://www.nativescript.org/",
66
"bugs": "https://github.com/NativeScript/nativescript-angular/issues",

Diff for: nativescript-angular/router/page-router-outlet.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -423,9 +423,7 @@ export class PageRouterOutlet implements OnDestroy { // tslint:disable-line:dire
423423
if (modalNavigation > 0) { // Modal with 'primary' p-r-o
424424
outlet = this.locationStrategy.findOutletByModal(modalNavigation);
425425
} else {
426-
const pathByOutlets = this.locationStrategy.getPathByOutlets(topActivatedRoute);
427426
outlet = this.locationStrategy.findOutletByKey(outletKey);
428-
outlet = outlet || this.locationStrategy.findOutletByOutletPath(pathByOutlets);
429427
}
430428

431429
// Named lazy loaded outlet.
@@ -436,6 +434,9 @@ export class PageRouterOutlet implements OnDestroy { // tslint:disable-line:dire
436434
if (outlet) {
437435
outlet.outletKeys.push(outletKey);
438436
}
437+
} else if (!outlet) {
438+
const pathByOutlets = this.locationStrategy.getPathByOutlets(topActivatedRoute);
439+
outlet = this.locationStrategy.findOutletByOutletPath(pathByOutlets);
439440
}
440441

441442
return outlet;

0 commit comments

Comments
 (0)