mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-19 21:44:30 -04:00
New: Use Goodreads directly, allow multiple editions of a book (new DB required)
This commit is contained in:
@@ -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