Skip to content

Commit 458e2b4

Browse files
krzysztof-grzybekbrandonroberts
authored andcommitted
fix(schematics): fix effects code generated by schematics:feature (#1357)
1 parent 8d56a6f commit 458e2b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/schematics/src/effect/files/__name@dasherize@if-flat__/__name@dasherize__.effects.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { Actions, Effect<% if (feature) { %>, ofType<% } %> } from '@ngrx/effect
66
export class <%= classify(name) %>Effects {
77
<% if (feature) { %>
88
@Effect()
9-
loadFoos$ = this.actions$.pipe(ofType(<%= classify(name) %>ActionTypes.Load<%= classify(name) %>s));
9+
load<%= classify(name) %>s$ = this.actions$.pipe(ofType(<%= classify(name) %>ActionTypes.Load<%= classify(name) %>s));
1010
<% } %>
1111
constructor(private actions$: Actions) {}
1212
}

0 commit comments

Comments
 (0)