feat: support rating radio fields
This commit is contained in:
parent
d31ce9b2cd
commit
abb4ba37f3
4 changed files with 9 additions and 9 deletions
|
@ -70,7 +70,7 @@ export default async function () {
|
|||
status: book['read_status'],
|
||||
progress: book['progress'],
|
||||
tags: book['tags'],
|
||||
rating: book['rating'] !== 'unrated' ? book['rating'] : '',
|
||||
rating: book['star_rating'] !== 'unrated' ? book['star_rating'] : '',
|
||||
isbn: book['isbn'],
|
||||
type: 'book',
|
||||
}
|
||||
|
|
|
@ -22,7 +22,7 @@ const fetchAllMovies = async () => {
|
|||
collected,
|
||||
plays,
|
||||
favorite,
|
||||
rating,
|
||||
star_rating,
|
||||
description,
|
||||
review
|
||||
`)
|
||||
|
@ -58,7 +58,7 @@ export default async function () {
|
|||
plays: item['plays'],
|
||||
collected: item['collected'],
|
||||
favorite: item['favorite'],
|
||||
rating: item['rating'],
|
||||
rating: item['star_rating'],
|
||||
description: item['description'],
|
||||
review: item['review'],
|
||||
id: item['tmdb_id'],
|
||||
|
|
Reference in a new issue