I have implemented ngrx/store in my project.
.map((p: Observable<Organization>[]) => {
return new usersActions.GetOrganizationSuccess(p);
})
The GetOrganizationSuccess action is designed to accept Organization[] as the payload.
Is there a way to convert (p) from Observable<Organization>[]
to Organization[]
?