Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- imports: [
- StoreModule.forFeature( 'DevdianState', devdianReducers ),
- EffectsModule.forFeature( effectsArr )
- constructor( public store: Store<DevdianState> ) {}
- public ngOnInit() {
- this.store.select('flyers')
- .subscribe( flyers => {
- this.avatars = flyers.flyers; ///error, no reconoce flyer
- this.loading_flyers = flyers.loading;
- this.loaded_flyers = flyers.loaded;
- this.error = flyers.error;
- });
- this.store.dispatch( new flyersActions.CargarFlyers() );
Add Comment
Please, Sign In to add comment