We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78772b5 commit bbb7c99Copy full SHA for bbb7c99
modules/router-store/src/router_store_module.ts
@@ -225,12 +225,12 @@ export class StoreRouterConnectingModule {
225
private dispatchRouterNavigation(): void {
226
this.dispatchRouterAction(ROUTER_NAVIGATION, {
227
routerState: this.routerState,
228
- event: {
229
- id: this.lastRoutesRecognized.id,
230
- url: this.lastRoutesRecognized.url,
231
- urlAfterRedirects: this.lastRoutesRecognized.urlAfterRedirects,
232
- state: this.serializer.serialize(this.routerState),
233
- } as RoutesRecognized,
+ event: new RoutesRecognized(
+ this.lastRoutesRecognized.id,
+ this.lastRoutesRecognized.url,
+ this.lastRoutesRecognized.urlAfterRedirects,
+ this.routerState
+ ),
234
});
235
}
236
0 commit comments