You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have created a Button on Players tab "Go To teams" as shown below in player-detail.component.html
<Button text="Go To Teams" [nsRouterLink]="['../../teams']">
The error log shows 'tabs/default' url not found.
CONSOLE LOG file:///app/app/app.module.js:18:20: ### ErrorHandler Error: Error: Uncaught (in promise): Error: Cannot match any routes. URL Segment: 'tabs/default'
noMatchError@file:///app/tns_modules/@angular/router/bundles/router.umd.js:2557:29 [angular]
file:///app/tns_modules/@angular/router/bundles/router.umd.js:2538:45 [angular]
error@file:///app/tns_modules/rxjs/internal/operators/catchError.js:48:39 [angular]
_error@file:///app/tns_modules/rxjs/internal/Subscriber.js:92:31 [angular]
error@file:///app/tns_modules/rxjs/internal/Subscriber.js:72:24 [angular]
_error@file:///app/tns_modules/rxjs/internal/Subscriber.js:92:31 [angular]
The text was updated successfully, but these errors were encountered:
I am trying to do the same thing. I have tried a number of different things using a nsRouterLink and specifying just the teams page or a specific team details page on the teams tab. I also tried setting up a function that gets called when tapping the button and using routerExtensions to navigate by URL or just calling navigate and specifying the outlet in a bunch of different ways. All of them result in "Error: Cannot match and routes."
I have created a Button on Players tab "Go To teams" as shown below in player-detail.component.html
<Button text="Go To Teams" [nsRouterLink]="['../../teams']">
The error log shows 'tabs/default' url not found.
CONSOLE LOG file:///app/app/app.module.js:18:20: ### ErrorHandler Error: Error: Uncaught (in promise): Error: Cannot match any routes. URL Segment: 'tabs/default'
noMatchError@file:///app/tns_modules/@angular/router/bundles/router.umd.js:2557:29 [angular]
file:///app/tns_modules/@angular/router/bundles/router.umd.js:2538:45 [angular]
error@file:///app/tns_modules/rxjs/internal/operators/catchError.js:48:39 [angular]
_error@file:///app/tns_modules/rxjs/internal/Subscriber.js:92:31 [angular]
error@file:///app/tns_modules/rxjs/internal/Subscriber.js:72:24 [angular]
_error@file:///app/tns_modules/rxjs/internal/Subscriber.js:92:31 [angular]
The text was updated successfully, but these errors were encountered: