fix(router): state data missing in routerLink (#33203)
Fixes 33173 PR Close #33203
This commit is contained in:
parent
b57be3bb41
commit
de67978a7d
|
@ -163,6 +163,7 @@ export class RouterLink {
|
||||||
const extras = {
|
const extras = {
|
||||||
skipLocationChange: attrBoolValue(this.skipLocationChange),
|
skipLocationChange: attrBoolValue(this.skipLocationChange),
|
||||||
replaceUrl: attrBoolValue(this.replaceUrl),
|
replaceUrl: attrBoolValue(this.replaceUrl),
|
||||||
|
state: this.state
|
||||||
};
|
};
|
||||||
this.router.navigateByUrl(this.urlTree, extras);
|
this.router.navigateByUrl(this.urlTree, extras);
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue