mirror of
https://github.com/Readarr/Readarr
synced 2025-12-06 16:32:51 +01:00
New: Don't initially select 0 byte files in Interactive Import
(cherry picked from commit 04bd535cfca5e25c6a2d5417c6f18d5bf5180f67) Closes #3448
This commit is contained in:
parent
ed7bd6c66d
commit
c9c5429120
1 changed files with 4 additions and 2 deletions
|
|
@ -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 });
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue