Commit 865f6018 authored by prumde's avatar prumde

Updated


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@174460 ce508802-f39f-4f6c-b175-0d175dae99d5
parent e10d06b8
...@@ -46,7 +46,7 @@ export class EcmSigninComponent implements OnInit { ...@@ -46,7 +46,7 @@ export class EcmSigninComponent implements OnInit {
statusPending: boolean = false; statusPending: boolean = false;
statusErrorMsg: string; statusErrorMsg: string;
constructor(public signinService: ECMSigninService, private store: Store<EcmStoreModel>, public cartService: EcmCartService, public wishListService: EcmWishListService) { } constructor(public signinService: ECMSigninService, private store: Store<AppState>, public cartService: EcmCartService, public wishListService: EcmWishListService, private cartAction:CartActions, private wishListAction:WishListActions) { }
activeForm: any = 'signInForm'; activeForm: any = 'signInForm';
activeNGForm: NgForm; activeNGForm: NgForm;
...@@ -210,7 +210,7 @@ export class EcmSigninComponent implements OnInit { ...@@ -210,7 +210,7 @@ export class EcmSigninComponent implements OnInit {
response => { response => {
console.log('response[' + response + ']'); console.log('response[' + response + ']');
if(response){ if(response){
this.store.dispatch(this.cartActions.loadCartItems()); this.store.dispatch(this.cartAction.loadCartItems());
this.store.dispatch(this.wishListAction.loadWishlistItems()); this.store.dispatch(this.wishListAction.loadWishlistItems());
} }
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment