|
|
@ -35,7 +35,10 @@ class BookComponent { |
|
|
constructor( |
|
|
constructor( |
|
|
public readonly list: ListService, |
|
|
public readonly list: ListService, |
|
|
private bookService: BookService, |
|
|
private bookService: BookService, |
|
|
) {} |
|
|
) { |
|
|
|
|
|
// change ListService defaults here |
|
|
|
|
|
this.list.maxResultCount = 20; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
ngOnInit() { |
|
|
ngOnInit() { |
|
|
// A function that gets query and returns an observable |
|
|
// A function that gets query and returns an observable |
|
|
|