mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-27 22:56:45 -04:00
New: Custom Filtering for UI (#234)
This commit is contained in:
@@ -74,18 +74,22 @@ class ArtistIndexRow extends Component {
|
||||
nextAlbum,
|
||||
lastAlbum,
|
||||
added,
|
||||
albumCount,
|
||||
trackCount,
|
||||
trackFileCount,
|
||||
totalTrackCount,
|
||||
statistics,
|
||||
path,
|
||||
sizeOnDisk,
|
||||
tags,
|
||||
columns,
|
||||
isRefreshingArtist,
|
||||
onRefreshArtistPress
|
||||
} = this.props;
|
||||
|
||||
const {
|
||||
albumCount,
|
||||
trackCount,
|
||||
trackFileCount,
|
||||
totalTrackCount,
|
||||
sizeOnDisk
|
||||
} = statistics;
|
||||
|
||||
const {
|
||||
isEditArtistModalOpen,
|
||||
isDeleteArtistModalOpen
|
||||
@@ -367,13 +371,9 @@ ArtistIndexRow.propTypes = {
|
||||
nextAlbum: PropTypes.object,
|
||||
lastAlbum: PropTypes.object,
|
||||
added: PropTypes.string,
|
||||
albumCount: PropTypes.number,
|
||||
trackCount: PropTypes.number,
|
||||
trackFileCount: PropTypes.number,
|
||||
totalTrackCount: PropTypes.number,
|
||||
statistics: PropTypes.object.isRequired,
|
||||
latestAlbum: PropTypes.object,
|
||||
path: PropTypes.string.isRequired,
|
||||
sizeOnDisk: PropTypes.number,
|
||||
tags: PropTypes.arrayOf(PropTypes.number).isRequired,
|
||||
columns: PropTypes.arrayOf(PropTypes.object).isRequired,
|
||||
isRefreshingArtist: PropTypes.bool.isRequired,
|
||||
@@ -382,7 +382,8 @@ ArtistIndexRow.propTypes = {
|
||||
|
||||
ArtistIndexRow.defaultProps = {
|
||||
trackCount: 0,
|
||||
trackFileCount: 0
|
||||
trackFileCount: 0,
|
||||
albumCount: 0
|
||||
};
|
||||
|
||||
export default ArtistIndexRow;
|
||||
|
||||
Reference in New Issue
Block a user