ngOnInit() { this.booksByStoreID = this.books.filter( book => book.store_id === this.store.id); }
this.booksByStoreID = this.books.filter(book => book.store_id === this.store.id);