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';
import { EcmCartComponent, ECMConfirmDialog } from '../../ecm-view/ecm-cart/ecm-cart.component';
import { Breadcrumbs } from '../../ecm-breadcrumbs/ecm-breadcrumbs.component';
import { HostUrlService } from '../../host-url.service';
@Component({
selector: 'app-ecm-wish-list',
templateUrl: './ecm-wish-list.component.html',
......@@ -22,9 +24,13 @@ export class EcmWishListComponent implements OnInit {
wishListItems: Observable<ItemDetail[]>;
cartItems: Observable<ItemDetail[]>;
errorMessage: string;
hostUrl;
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) { }
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() {
this.wishListItems = this.store.select( 'wishlistItems' );
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