mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-20 21:54:25 -04:00
Move all data fetching to BookInfo
This commit is contained in:
@@ -74,6 +74,7 @@ class AddNewBookSearchResult extends Component {
|
||||
foreignBookId,
|
||||
titleSlug,
|
||||
title,
|
||||
seriesTitle,
|
||||
releaseDate,
|
||||
disambiguation,
|
||||
overview,
|
||||
@@ -151,6 +152,13 @@ class AddNewBookSearchResult extends Component {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{
|
||||
seriesTitle &&
|
||||
<div className={styles.series}>
|
||||
{seriesTitle}
|
||||
</div>
|
||||
}
|
||||
|
||||
<div>
|
||||
<Label size={sizes.LARGE}>
|
||||
<HeartRating
|
||||
@@ -188,6 +196,7 @@ class AddNewBookSearchResult extends Component {
|
||||
isExistingAuthor={isExistingAuthor}
|
||||
foreignBookId={foreignBookId}
|
||||
bookTitle={title}
|
||||
seriesTitle={seriesTitle}
|
||||
disambiguation={disambiguation}
|
||||
authorName={author.authorName}
|
||||
overview={overview}
|
||||
@@ -203,6 +212,7 @@ AddNewBookSearchResult.propTypes = {
|
||||
foreignBookId: PropTypes.string.isRequired,
|
||||
titleSlug: PropTypes.string.isRequired,
|
||||
title: PropTypes.string.isRequired,
|
||||
seriesTitle: PropTypes.string,
|
||||
releaseDate: PropTypes.string,
|
||||
disambiguation: PropTypes.string,
|
||||
overview: PropTypes.string,
|
||||
|
||||
Reference in New Issue
Block a user