mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-18 21:34:28 -04:00
Revert "Move all data fetching to BookInfo"
This reverts commit f6ff53ca31.
This commit is contained in:
@@ -17,15 +17,10 @@
|
||||
font-size: 36px;
|
||||
}
|
||||
|
||||
.series {
|
||||
font-weight: 300;
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
.authorName {
|
||||
margin-bottom: 20px;
|
||||
font-weight: 300;
|
||||
font-size: 24px;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.disambiguation {
|
||||
|
||||
@@ -43,7 +43,6 @@ class AddNewBookModalContent extends Component {
|
||||
render() {
|
||||
const {
|
||||
bookTitle,
|
||||
seriesTitle,
|
||||
authorName,
|
||||
disambiguation,
|
||||
overview,
|
||||
@@ -85,13 +84,6 @@ class AddNewBookModalContent extends Component {
|
||||
<span className={styles.disambiguation}>({disambiguation})</span>
|
||||
}
|
||||
|
||||
{
|
||||
!!seriesTitle &&
|
||||
<div className={styles.series}>
|
||||
{seriesTitle}
|
||||
</div>
|
||||
}
|
||||
|
||||
<div>
|
||||
<span className={styles.authorName}> By: {authorName}</span>
|
||||
</div>
|
||||
@@ -152,7 +144,6 @@ class AddNewBookModalContent extends Component {
|
||||
|
||||
AddNewBookModalContent.propTypes = {
|
||||
bookTitle: PropTypes.string.isRequired,
|
||||
seriesTitle: PropTypes.string,
|
||||
authorName: PropTypes.string.isRequired,
|
||||
disambiguation: PropTypes.string,
|
||||
overview: PropTypes.string,
|
||||
|
||||
@@ -52,11 +52,6 @@
|
||||
font-size: 36px;
|
||||
}
|
||||
|
||||
.series {
|
||||
font-weight: 300;
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
.year {
|
||||
margin-left: 10px;
|
||||
color: $disabledColor;
|
||||
|
||||
@@ -74,7 +74,6 @@ class AddNewBookSearchResult extends Component {
|
||||
foreignBookId,
|
||||
titleSlug,
|
||||
title,
|
||||
seriesTitle,
|
||||
releaseDate,
|
||||
disambiguation,
|
||||
overview,
|
||||
@@ -152,13 +151,6 @@ class AddNewBookSearchResult extends Component {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{
|
||||
seriesTitle &&
|
||||
<div className={styles.series}>
|
||||
{seriesTitle}
|
||||
</div>
|
||||
}
|
||||
|
||||
<div>
|
||||
<Label size={sizes.LARGE}>
|
||||
<HeartRating
|
||||
@@ -196,7 +188,6 @@ class AddNewBookSearchResult extends Component {
|
||||
isExistingAuthor={isExistingAuthor}
|
||||
foreignBookId={foreignBookId}
|
||||
bookTitle={title}
|
||||
seriesTitle={seriesTitle}
|
||||
disambiguation={disambiguation}
|
||||
authorName={author.authorName}
|
||||
overview={overview}
|
||||
@@ -212,7 +203,6 @@ 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