Commit 237e0b0b authored by kpandey's avatar kpandey

Changes for display svg of empty cart

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@175722 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 88440b89
...@@ -18,6 +18,8 @@ import { ECMCart } from '../../ecm-model/cart-model'; ...@@ -18,6 +18,8 @@ import { ECMCart } from '../../ecm-model/cart-model';
import { Router, ActivatedRoute } from '@angular/router'; import { Router, ActivatedRoute } from '@angular/router';
import { HostUrlService } from '../../host-url.service';
@Component( { @Component( {
selector: 'ecm-cart', selector: 'ecm-cart',
templateUrl: './ecm-cart.component.html', templateUrl: './ecm-cart.component.html',
...@@ -40,8 +42,12 @@ export class EcmCartComponent implements OnInit, AfterViewChecked { ...@@ -40,8 +42,12 @@ export class EcmCartComponent implements OnInit, AfterViewChecked {
@ViewChild('scrollMe') private myScrollContainer: ElementRef; @ViewChild('scrollMe') private myScrollContainer: ElementRef;
@ViewChild('header') header: ECMHeaderComponent; @ViewChild('header') header: ECMHeaderComponent;
constructor( private route: ActivatedRoute, public dialog: MdDialog, private router: Router, public cartService: EcmCartService, public snackBar: MdSnackBar, private http: Http, private store: Store<AppState>, private cartAction: CartActions, private wishListAction:WishListActions, public breadcrumbSerivce: Breadcrumbs) { } hostUrl;
constructor(public hostUrlService : HostUrlService, private route: ActivatedRoute, public dialog: MdDialog, private router: Router, public cartService: EcmCartService, public snackBar: MdSnackBar, private http: Http, private store: Store<AppState>, private cartAction: CartActions, private wishListAction:WishListActions, public breadcrumbSerivce: Breadcrumbs)
{
this.hostUrl=this.hostUrlService.hostUrl;
}
ngOnInit() { ngOnInit() {
this.getCartItem(); this.getCartItem();
this.scrollToBottom(); this.scrollToBottom();
......
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