mirror of
https://github.com/Readarr/Readarr
synced 2025-12-30 20:25:18 +01:00
parent
4adffff5ba
commit
7fe8702584
2 changed files with 22 additions and 3 deletions
|
|
@ -72,6 +72,7 @@ class BookRow extends Component {
|
|||
releaseDate,
|
||||
title,
|
||||
position,
|
||||
pageCount,
|
||||
ratings,
|
||||
isSaving,
|
||||
authorMonitored,
|
||||
|
|
@ -161,6 +162,16 @@ class BookRow extends Component {
|
|||
);
|
||||
}
|
||||
|
||||
if (name === 'pageCount') {
|
||||
return (
|
||||
<TableRowCell
|
||||
key={name}
|
||||
>
|
||||
{pageCount || ''}
|
||||
</TableRowCell>
|
||||
);
|
||||
}
|
||||
|
||||
if (name === 'status') {
|
||||
return (
|
||||
<TableRowCell
|
||||
|
|
@ -205,6 +216,7 @@ BookRow.propTypes = {
|
|||
releaseDate: PropTypes.string,
|
||||
title: PropTypes.string.isRequired,
|
||||
position: PropTypes.string,
|
||||
pageCount: PropTypes.number,
|
||||
ratings: PropTypes.object.isRequired,
|
||||
titleSlug: PropTypes.string.isRequired,
|
||||
isSaving: PropTypes.bool,
|
||||
|
|
|
|||
|
|
@ -51,6 +51,12 @@ export const defaultState = {
|
|||
isSortable: true,
|
||||
isVisible: true
|
||||
},
|
||||
{
|
||||
name: 'series',
|
||||
label: 'Series',
|
||||
isSortable: true,
|
||||
isVisible: false
|
||||
},
|
||||
{
|
||||
name: 'releaseDate',
|
||||
label: 'Release Date',
|
||||
|
|
@ -58,9 +64,10 @@ export const defaultState = {
|
|||
isVisible: true
|
||||
},
|
||||
{
|
||||
name: 'bookCount',
|
||||
label: 'Book Count',
|
||||
isVisible: false
|
||||
name: 'pageCount',
|
||||
label: 'Pages',
|
||||
isSortable: true,
|
||||
isVisible: true
|
||||
},
|
||||
{
|
||||
name: 'rating',
|
||||
|
|
|
|||
Loading…
Reference in a new issue