Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(Devtools): Show complex structures in monitor #79

Merged
merged 1 commit into from
Jul 14, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion example-app/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ import { environment } from '../environments/environment';
/**
* @ngrx/router-store keeps router state up-to-date in the store.
*/
// StoreRouterConnectingModule,
StoreRouterConnectingModule,

/**
* Store devtools instrument the store retaining past versions of state
Expand Down
2 changes: 1 addition & 1 deletion example-app/app/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const routes: Routes = [
{ path: '', redirectTo: '/books', pathMatch: 'full' },
{
path: 'books',
loadChildren: 'app/books/books.module#BooksModule',
loadChildren: './books/books.module#BooksModule',
canActivate: [AuthGuard],
},
{ path: '**', component: NotFoundPageComponent },
Expand Down
9 changes: 7 additions & 2 deletions modules/store-devtools/src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export interface ReduxDevtoolsExtension {
send(
action: any,
state: any,
shouldStringify?: boolean,
options?: boolean | { serialize: boolean | object },
instanceId?: string
): void;
}
Expand All @@ -60,7 +60,12 @@ export class DevtoolsExtension {
return;
}

this.devtoolsExtension.send(null, state, false, this.instanceId);
this.devtoolsExtension.send(
null,
state,
{ serialize: false },
this.instanceId
);
}

private createChangesObservable(): Observable<any> {
Expand Down