Skip to content

Commit e149b80

Browse files
committed
Apply #45 to #42
1 parent a0a2ef3 commit e149b80

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/models/BoardGameModel.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,8 @@ export class BoardGameModel extends MediaTypeModel {
3232
return MediaType.BoardGame;
3333
}
3434

35+
getSummary(): string {
36+
return this.englishTitle + ' (' + this.year + ')';
37+
}
38+
3539
}

0 commit comments

Comments
 (0)