New: Don't require artist mapping

This commit is contained in:
ta264 2020-02-09 19:15:43 +00:00 committed by Qstick
parent 1cc434a498
commit be4e748977
159 changed files with 2934 additions and 4208 deletions

View file

@ -30,8 +30,8 @@ import styles from './InteractiveImportModalContent.css';
const columns = [
{
name: 'relativePath',
label: 'Relative Path',
name: 'path',
label: 'Path',
isSortable: true,
isVisible: true
},

View file

@ -1,4 +1,4 @@
.relativePath {
.path {
composes: cell from '~Components/Table/Cells/TableRowCell.css';
word-break: break-all;

View file

@ -149,7 +149,7 @@ class InteractiveImportRow extends Component {
const {
id,
allowArtistChange,
relativePath,
path,
artist,
album,
albumReleaseId,
@ -190,7 +190,7 @@ class InteractiveImportRow extends Component {
const pathCellContents = (
<div>
{relativePath}
{path}
</div>
);
@ -213,8 +213,8 @@ class InteractiveImportRow extends Component {
/>
<TableRowCell
className={styles.relativePath}
title={relativePath}
className={styles.path}
title={path}
>
{pathCell}
</TableRowCell>
@ -328,7 +328,7 @@ class InteractiveImportRow extends Component {
audioTags={audioTags}
sortKey='mediumNumber'
sortDirection={sortDirections.ASCENDING}
filename={relativePath}
filename={path}
onModalClose={this.onSelectTrackModalClose}
/>
@ -349,7 +349,7 @@ class InteractiveImportRow extends Component {
InteractiveImportRow.propTypes = {
id: PropTypes.number.isRequired,
allowArtistChange: PropTypes.bool.isRequired,
relativePath: PropTypes.string.isRequired,
path: PropTypes.string.isRequired,
artist: PropTypes.object,
album: PropTypes.object,
albumReleaseId: PropTypes.number,