mirror of https://github.com/lidarr/Lidarr
New: Don't initially select 0 byte files in Interactive Import
(cherry picked from commit 04bd535cfca5e25c6a2d5417c6f18d5bf5180f67) Closes #4776
This commit is contained in:
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…
Reference in New Issue