Add:Authors page match authors and display author image

This commit is contained in:
advplyr 2022-03-13 10:35:35 -05:00
parent dad12537b6
commit 30f15d3575
9 changed files with 432 additions and 285 deletions

View file

@ -40,6 +40,12 @@ class Author {
}
}
toJSONExpanded(numBooks = 0) {
var json = this.toJSON()
json.numBooks = numBooks
return json
}
toJSONMinimal() {
return {
id: this.id,