New: Don't initially select 0 byte files in Interactive Import

(cherry picked from commit 04bd535cfca5e25c6a2d5417c6f18d5bf5180f67)

Closes #4776
pull/4779/head
Stevie Robinson 9 months ago committed by Bogdan
parent 580e4becbe
commit 8b57b33c99

@ -48,14 +48,16 @@ class InteractiveImportRow extends Component {
artist, artist,
album, album,
tracks, tracks,
quality quality,
size
} = this.props; } = this.props;
if ( if (
artist && artist &&
album != null && album != null &&
tracks.length && tracks.length &&
quality quality &&
size > 0
) { ) {
this.props.onSelectedChange({ id, value: true }); this.props.onSelectedChange({ id, value: true });
} }

Loading…
Cancel
Save