File tree 3 files changed +7
-8
lines changed
e2e/single-page/app/second/modal
3 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ export class ModalComponent {
12
12
constructor ( private params : ModalDialogParams ) {
13
13
}
14
14
15
- public close ( result : string ) {
16
- this . params . closeCallback ( result ) ;
15
+ public close ( ) {
16
+ this . params . closeCallback ( ) ;
17
17
}
18
18
19
19
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " nativescript-angular" ,
3
- "version" : " 7.2.2 " ,
3
+ "version" : " 7.2.3 " ,
4
4
"description" : " An Angular renderer that lets you build mobile apps with NativeScript." ,
5
5
"homepage" : " https://www.nativescript.org/" ,
6
6
"bugs" : " https://github.com/NativeScript/nativescript-angular/issues" ,
Original file line number Diff line number Diff line change @@ -564,19 +564,18 @@ export class NSLocationStrategy extends LocationStrategy {
564
564
}
565
565
566
566
findOutlet ( outletKey : string , activatedRouteSnapshot ?: ActivatedRouteSnapshot ) : Outlet {
567
- const that = this ;
568
567
let outlet : Outlet = this . outlets . find ( ( currentOutlet ) => {
569
- let equalModalDepth = currentOutlet . modalNavigationDepth === that . _modalNavigationDepth ;
570
- return currentOutlet . outletKeys . indexOf ( outletKey ) > - 1 && equalModalDepth ;
568
+ let equalModalDepth = currentOutlet . modalNavigationDepth === this . _modalNavigationDepth ;
569
+ return equalModalDepth && currentOutlet . outletKeys . indexOf ( outletKey ) > - 1 ;
571
570
} ) ;
572
571
573
572
// No Outlet with the given outletKey could happen when using nested unnamed p-r-o
574
573
// primary -> primary -> prymary
575
574
if ( ! outlet && activatedRouteSnapshot ) {
576
575
const pathByOutlets = this . getPathByOutlets ( activatedRouteSnapshot ) ;
577
576
outlet = this . outlets . find ( ( currentOutlet ) => {
578
- let equalModalDepth = currentOutlet . modalNavigationDepth === that . _modalNavigationDepth ;
579
- return currentOutlet . pathByOutlets === pathByOutlets && equalModalDepth ;
577
+ let equalModalDepth = currentOutlet . modalNavigationDepth === this . _modalNavigationDepth ;
578
+ return equalModalDepth && currentOutlet . pathByOutlets === pathByOutlets ;
580
579
} ) ;
581
580
}
582
581
You can’t perform that action at this time.
0 commit comments