Commit 0c5bbebd authored by kpandey's avatar kpandey

Changes for display svg of empty wish-list

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@175725 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 2c51ac4a
...@@ -13,6 +13,8 @@ import { Observable } from 'rxjs/Observable'; ...@@ -13,6 +13,8 @@ import { Observable } from 'rxjs/Observable';
import { EcmCartComponent, ECMConfirmDialog } from '../../ecm-view/ecm-cart/ecm-cart.component'; import { EcmCartComponent, ECMConfirmDialog } from '../../ecm-view/ecm-cart/ecm-cart.component';
import { Breadcrumbs } from '../../ecm-breadcrumbs/ecm-breadcrumbs.component'; import { Breadcrumbs } from '../../ecm-breadcrumbs/ecm-breadcrumbs.component';
import { HostUrlService } from '../../host-url.service';
@Component({ @Component({
selector: 'app-ecm-wish-list', selector: 'app-ecm-wish-list',
templateUrl: './ecm-wish-list.component.html', templateUrl: './ecm-wish-list.component.html',
...@@ -23,8 +25,12 @@ export class EcmWishListComponent implements OnInit { ...@@ -23,8 +25,12 @@ export class EcmWishListComponent implements OnInit {
cartItems: Observable<ItemDetail[]>; cartItems: Observable<ItemDetail[]>;
errorMessage: string; errorMessage: string;
constructor( private route: ActivatedRoute, private router: Router, public dialog: MdDialog, public snackBar: MdSnackBar, public wishListService: EcmWishListService, private http: Http, private store: Store<AppState>, private wishListAction: WishListActions, private cartAction: CartActions, public breadcrumbSerivce: Breadcrumbs) { } hostUrl;
constructor( private hostUrlService: HostUrlService ,private route: ActivatedRoute, private router: Router, public dialog: MdDialog, public snackBar: MdSnackBar, public wishListService: EcmWishListService, private http: Http, private store: Store<AppState>, private wishListAction: WishListActions, private cartAction: CartActions, public breadcrumbSerivce: Breadcrumbs)
{
this.hostUrl = hostUrlService.hostUrl;
}
ngOnInit() { ngOnInit() {
this.wishListItems = this.store.select( 'wishlistItems' ); this.wishListItems = this.store.select( 'wishlistItems' );
this.cartItems = this.store.select( 'cartItems' ); this.cartItems = this.store.select( 'cartItems' );
......
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