my bad
This commit is contained in:
parent
13e1106a4e
commit
6ce25e2361
|
@ -73,7 +73,7 @@ export class ProfileComponent implements OnInit, OnDestroy {
|
|||
phone: modifyValue.phone,
|
||||
companyName: modifyValue.companyName,
|
||||
};
|
||||
this.modifyStore.dispatch(new ModifyStore.Modify({ member }));
|
||||
this.modifyStore.dispatch(new ModifyStore.Modify(member));
|
||||
|
||||
const modifiedMemberSubscription$ = this.modifiedMember$.subscribe(
|
||||
(m: Member) => {
|
||||
|
|
|
@ -37,7 +37,7 @@ export class Effects {
|
|||
.map((action: Modify) => action.payload)
|
||||
.exhaustMap(payload =>
|
||||
this.memberService
|
||||
.modify(payload.member)
|
||||
.modify(payload)
|
||||
.map(_member => new ModifySuccess(_member))
|
||||
.catch(error => of(new ModifyFailure(error)))
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue
Block a user