Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit de67978

Browse files
santoshyadavdevmatsko
authored andcommitted
fix(router): state data missing in routerLink (#33203)
Fixes 33173 PR Close #33203
1 parent b57be3b commit de67978

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎packages/router/src/directives/router_link.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ export class RouterLink {
163163
const extras = {
164164
skipLocationChange: attrBoolValue(this.skipLocationChange),
165165
replaceUrl: attrBoolValue(this.replaceUrl),
166+
state: this.state
166167
};
167168
this.router.navigateByUrl(this.urlTree, extras);
168169
return true;

0 commit comments

Comments
 (0)