mirror of
https://github.com/fergalmoran/Readarr.git
synced 2025-12-22 09:29:59 +00:00
New: Don't initially select 0 byte files in Interactive Import
(cherry picked from commit 04bd535cfca5e25c6a2d5417c6f18d5bf5180f67) Closes #3448
This commit is contained in:
@@ -47,14 +47,16 @@ class InteractiveImportRow extends Component {
|
|||||||
author,
|
author,
|
||||||
book,
|
book,
|
||||||
foreignEditionId,
|
foreignEditionId,
|
||||||
quality
|
quality,
|
||||||
|
size
|
||||||
} = this.props;
|
} = this.props;
|
||||||
|
|
||||||
if (
|
if (
|
||||||
author &&
|
author &&
|
||||||
book != null &&
|
book != null &&
|
||||||
foreignEditionId &&
|
foreignEditionId &&
|
||||||
quality
|
quality &&
|
||||||
|
size > 0
|
||||||
) {
|
) {
|
||||||
this.props.onSelectedChange({ id, value: true });
|
this.props.onSelectedChange({ id, value: true });
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user