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

@ -28,8 +28,8 @@ const columns = [
isVisible: true
},
{
name: 'relativePath',
label: 'Relative Path',
name: 'path',
label: 'Path',
isVisible: true
},
{

View file

@ -65,7 +65,7 @@ function createMapStateToProps() {
const trackFile = _.find(trackFiles.items, { id: track.trackFileId });
return {
relativePath: trackFile.relativePath,
path: trackFile.path,
quality: trackFile.quality,
...track
};

View file

@ -10,7 +10,7 @@ function TrackFileEditorRow(props) {
const {
id,
trackNumber,
relativePath,
path,
quality,
isSelected,
onSelectedChange
@ -29,7 +29,7 @@ function TrackFileEditorRow(props) {
</TableRowCell>
<TableRowCell>
{relativePath}
{path}
</TableRowCell>
<TableRowCell>
@ -44,7 +44,7 @@ function TrackFileEditorRow(props) {
TrackFileEditorRow.propTypes = {
id: PropTypes.number.isRequired,
trackNumber: PropTypes.string.isRequired,
relativePath: PropTypes.string.isRequired,
path: PropTypes.string.isRequired,
quality: PropTypes.object.isRequired,
isSelected: PropTypes.bool,
onSelectedChange: PropTypes.func.isRequired