Revert "fix(router): state data missing in routerLink (#33203)" (#35882)

This reverts commit de67978a7d0d867ccbb91615a09e4471584569da.

PR Close #35882
This commit is contained in:
Matias Niemelä 2020-03-05 14:10:51 -08:00
parent 716d50aa21
commit 98a9daf4f4

View File

@ -163,7 +163,6 @@ 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;