|
|
@ -72,6 +72,7 @@ class BookRow extends Component {
|
|
|
|
releaseDate,
|
|
|
|
releaseDate,
|
|
|
|
title,
|
|
|
|
title,
|
|
|
|
position,
|
|
|
|
position,
|
|
|
|
|
|
|
|
pageCount,
|
|
|
|
ratings,
|
|
|
|
ratings,
|
|
|
|
isSaving,
|
|
|
|
isSaving,
|
|
|
|
authorMonitored,
|
|
|
|
authorMonitored,
|
|
|
@ -161,6 +162,16 @@ class BookRow extends Component {
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (name === 'pageCount') {
|
|
|
|
|
|
|
|
return (
|
|
|
|
|
|
|
|
<TableRowCell
|
|
|
|
|
|
|
|
key={name}
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
{pageCount || ''}
|
|
|
|
|
|
|
|
</TableRowCell>
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (name === 'status') {
|
|
|
|
if (name === 'status') {
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<TableRowCell
|
|
|
|
<TableRowCell
|
|
|
@ -205,6 +216,7 @@ BookRow.propTypes = {
|
|
|
|
releaseDate: PropTypes.string,
|
|
|
|
releaseDate: PropTypes.string,
|
|
|
|
title: PropTypes.string.isRequired,
|
|
|
|
title: PropTypes.string.isRequired,
|
|
|
|
position: PropTypes.string,
|
|
|
|
position: PropTypes.string,
|
|
|
|
|
|
|
|
pageCount: PropTypes.number,
|
|
|
|
ratings: PropTypes.object.isRequired,
|
|
|
|
ratings: PropTypes.object.isRequired,
|
|
|
|
titleSlug: PropTypes.string.isRequired,
|
|
|
|
titleSlug: PropTypes.string.isRequired,
|
|
|
|
isSaving: PropTypes.bool,
|
|
|
|
isSaving: PropTypes.bool,
|
|
|
|