mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-18 21:34:28 -04:00
Changed: Make entire row clickable in manual import album selection (#469)
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
.albumRow {
|
||||
cursor: pointer;
|
||||
}
|
||||
@@ -5,7 +5,7 @@ import TableRow from 'Components/Table/TableRow';
|
||||
import TableRowCell from 'Components/Table/Cells/TableRowCell';
|
||||
import RelativeDateCellConnector from 'Components/Table/Cells/RelativeDateCellConnector';
|
||||
import Label from 'Components/Label';
|
||||
import Link from 'Components/Link/Link';
|
||||
import styles from './SelectAlbumRow.css';
|
||||
|
||||
function getTrackCountKind(monitored, trackFileCount, trackCount) {
|
||||
if (trackFileCount === trackCount && trackCount > 0) {
|
||||
@@ -48,8 +48,10 @@ class SelectAlbumRow extends Component {
|
||||
} = statistics;
|
||||
|
||||
return (
|
||||
|
||||
<TableRow>
|
||||
<TableRow
|
||||
onClick={this.onPress}
|
||||
className={styles.albumRow}
|
||||
>
|
||||
{
|
||||
columns.map((column) => {
|
||||
const {
|
||||
@@ -64,11 +66,7 @@ class SelectAlbumRow extends Component {
|
||||
if (name === 'title') {
|
||||
return (
|
||||
<TableRowCell key={name}>
|
||||
<Link
|
||||
onPress={this.onPress}
|
||||
>
|
||||
{title}
|
||||
</Link>
|
||||
{title}
|
||||
</TableRowCell>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user