Modal helper
This commit is contained in:
parent
25b899daa5
commit
5aa9108509
3 changed files with 169 additions and 144 deletions
|
|
@ -79,17 +79,16 @@ export class BoardGameGeekAPI extends APIModel {
|
|||
const genres = Array.from(boardgame.querySelectorAll('boardgamecategory')).map(n => n!.textContent!);
|
||||
|
||||
const model = new BoardGameModel({
|
||||
type: MediaType.BoardGame,
|
||||
title,
|
||||
englishTitle: title,
|
||||
year: year === '0' ? '' : year,
|
||||
dataSource: this.apiName,
|
||||
url: `https://boardgamegeek.com/boardgame/${id}`,
|
||||
id,
|
||||
id: id,
|
||||
|
||||
genres,
|
||||
onlineRating,
|
||||
image,
|
||||
genres: genres,
|
||||
onlineRating: onlineRating,
|
||||
image: image,
|
||||
released: true,
|
||||
|
||||
userData: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue