]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/eg2/src/app/staff/catalog/catalog.component.ts
LP1869906 Angular staff cat browse links
[Evergreen.git] / Open-ILS / src / eg2 / src / app / staff / catalog / catalog.component.ts
1 import {Component, OnInit} from '@angular/core';
2 import {StaffCatalogService} from './catalog.service';
3 import {BasketService} from '@eg/share/catalog/basket.service';
4
5 @Component({
6   templateUrl: 'catalog.component.html'
7 })
8 export class CatalogComponent implements OnInit {
9
10     constructor(
11         private basket: BasketService,
12         private staffCat: StaffCatalogService
13     ) {}
14
15     ngOnInit() {
16         // Create the search context that will be used by all of my
17         // child components.  After initial creation, the context is
18         // reset and updated as needed to apply new search parameters.
19         this.staffCat.createContext();
20     }
21 }
22