|
|
@ -5,7 +5,7 @@ import TableRow from 'Components/Table/TableRow';
|
|
|
|
import TableRowCell from 'Components/Table/Cells/TableRowCell';
|
|
|
|
import TableRowCell from 'Components/Table/Cells/TableRowCell';
|
|
|
|
import RelativeDateCellConnector from 'Components/Table/Cells/RelativeDateCellConnector';
|
|
|
|
import RelativeDateCellConnector from 'Components/Table/Cells/RelativeDateCellConnector';
|
|
|
|
import Label from 'Components/Label';
|
|
|
|
import Label from 'Components/Label';
|
|
|
|
import Link from 'Components/Link/Link';
|
|
|
|
import styles from './SelectAlbumRow.css';
|
|
|
|
|
|
|
|
|
|
|
|
function getTrackCountKind(monitored, trackFileCount, trackCount) {
|
|
|
|
function getTrackCountKind(monitored, trackFileCount, trackCount) {
|
|
|
|
if (trackFileCount === trackCount && trackCount > 0) {
|
|
|
|
if (trackFileCount === trackCount && trackCount > 0) {
|
|
|
@ -48,8 +48,10 @@ class SelectAlbumRow extends Component {
|
|
|
|
} = statistics;
|
|
|
|
} = statistics;
|
|
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
|
|
|
|
<TableRow
|
|
|
|
<TableRow>
|
|
|
|
onClick={this.onPress}
|
|
|
|
|
|
|
|
className={styles.albumRow}
|
|
|
|
|
|
|
|
>
|
|
|
|
{
|
|
|
|
{
|
|
|
|
columns.map((column) => {
|
|
|
|
columns.map((column) => {
|
|
|
|
const {
|
|
|
|
const {
|
|
|
@ -64,11 +66,7 @@ class SelectAlbumRow extends Component {
|
|
|
|
if (name === 'title') {
|
|
|
|
if (name === 'title') {
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<TableRowCell key={name}>
|
|
|
|
<TableRowCell key={name}>
|
|
|
|
<Link
|
|
|
|
|
|
|
|
onPress={this.onPress}
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
{title}
|
|
|
|
{title}
|
|
|
|
</Link>
|
|
|
|
|
|
|
|
</TableRowCell>
|
|
|
|
</TableRowCell>
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|