From 27470432f9869fb0bf43fe0b62e938c04d789857 Mon Sep 17 00:00:00 2001 From: Daniel Underwood Date: Sun, 2 Sep 2018 11:07:26 -0400 Subject: [PATCH] Changed: Make entire row clickable in manual import album selection (#469) --- .../src/InteractiveImport/Album/SelectAlbumRow.css | 3 +++ .../src/InteractiveImport/Album/SelectAlbumRow.js | 14 ++++++-------- 2 files changed, 9 insertions(+), 8 deletions(-) create mode 100644 frontend/src/InteractiveImport/Album/SelectAlbumRow.css diff --git a/frontend/src/InteractiveImport/Album/SelectAlbumRow.css b/frontend/src/InteractiveImport/Album/SelectAlbumRow.css new file mode 100644 index 000000000..e78f0bc19 --- /dev/null +++ b/frontend/src/InteractiveImport/Album/SelectAlbumRow.css @@ -0,0 +1,3 @@ +.albumRow { + cursor: pointer; +} diff --git a/frontend/src/InteractiveImport/Album/SelectAlbumRow.js b/frontend/src/InteractiveImport/Album/SelectAlbumRow.js index 5bd106f75..42e15f05b 100644 --- a/frontend/src/InteractiveImport/Album/SelectAlbumRow.js +++ b/frontend/src/InteractiveImport/Album/SelectAlbumRow.js @@ -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 ( - - + { columns.map((column) => { const { @@ -64,11 +66,7 @@ class SelectAlbumRow extends Component { if (name === 'title') { return ( - - {title} - + {title} ); }