mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-21 22:04:31 -04:00
New: Use Goodreads directly, allow multiple editions of a book (new DB required)
This commit is contained in:
@@ -82,7 +82,6 @@ class AuthorIndexRow extends Component {
|
||||
status,
|
||||
authorName,
|
||||
titleSlug,
|
||||
authorType,
|
||||
qualityProfile,
|
||||
metadataProfile,
|
||||
nextBook,
|
||||
@@ -134,7 +133,6 @@ class AuthorIndexRow extends Component {
|
||||
<AuthorStatusCell
|
||||
key={name}
|
||||
className={styles[name]}
|
||||
authorType={authorType}
|
||||
monitored={monitored}
|
||||
status={status}
|
||||
component={VirtualTableRowCell}
|
||||
@@ -184,17 +182,6 @@ class AuthorIndexRow extends Component {
|
||||
);
|
||||
}
|
||||
|
||||
if (name === 'authorType') {
|
||||
return (
|
||||
<VirtualTableRowCell
|
||||
key={name}
|
||||
className={styles[name]}
|
||||
>
|
||||
{authorType}
|
||||
</VirtualTableRowCell>
|
||||
);
|
||||
}
|
||||
|
||||
if (name === 'qualityProfileId') {
|
||||
return (
|
||||
<VirtualTableRowCell
|
||||
@@ -421,7 +408,6 @@ AuthorIndexRow.propTypes = {
|
||||
status: PropTypes.string.isRequired,
|
||||
authorName: PropTypes.string.isRequired,
|
||||
titleSlug: PropTypes.string.isRequired,
|
||||
authorType: PropTypes.string,
|
||||
qualityProfile: PropTypes.object.isRequired,
|
||||
metadataProfile: PropTypes.object.isRequired,
|
||||
nextBook: PropTypes.object,
|
||||
|
||||
@@ -8,15 +8,12 @@ import styles from './AuthorStatusCell.css';
|
||||
function AuthorStatusCell(props) {
|
||||
const {
|
||||
className,
|
||||
authorType,
|
||||
monitored,
|
||||
status,
|
||||
component: Component,
|
||||
...otherProps
|
||||
} = props;
|
||||
|
||||
const endedString = authorType === 'Person' ? 'Deceased' : 'Ended';
|
||||
|
||||
return (
|
||||
<Component
|
||||
className={className}
|
||||
@@ -31,7 +28,7 @@ function AuthorStatusCell(props) {
|
||||
<Icon
|
||||
className={styles.statusIcon}
|
||||
name={status === 'ended' ? icons.AUTHOR_ENDED : icons.AUTHOR_CONTINUING}
|
||||
title={status === 'ended' ? endedString : 'Continuing'}
|
||||
title={status === 'ended' ? 'Deceased' : 'Continuing'}
|
||||
/>
|
||||
</Component>
|
||||
);
|
||||
@@ -39,7 +36,6 @@ function AuthorStatusCell(props) {
|
||||
|
||||
AuthorStatusCell.propTypes = {
|
||||
className: PropTypes.string.isRequired,
|
||||
authorType: PropTypes.string,
|
||||
monitored: PropTypes.bool.isRequired,
|
||||
status: PropTypes.string.isRequired,
|
||||
component: PropTypes.elementType
|
||||
|
||||
Reference in New Issue
Block a user