]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/eg2/src/app/staff/catalog/catalog.component.ts
LP#1775466 Angular(6) base application
[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
4 @Component({
5   templateUrl: 'catalog.component.html'
6 })
7 export class CatalogComponent implements OnInit {
8
9     constructor(private staffCat: StaffCatalogService) {}
10
11     ngOnInit() {
12         // Create the search context that will be used by all of my
13         // child components.  After initial creation, the context is
14         // reset and updated as needed to apply new search parameters.
15         this.staffCat.createContext();
16     }
17 }
18