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

(cherry picked from commit 04bd535cfca5e25c6a2d5417c6f18d5bf5180f67)

Closes #3448
pull/3455/head
Stevie Robinson 3 weeks ago committed by Bogdan
parent ed7bd6c66d
commit c9c5429120

@ -47,14 +47,16 @@ class InteractiveImportRow extends Component {
author,
book,
foreignEditionId,
quality
quality,
size
} = this.props;
if (
author &&
book != null &&
foreignEditionId &&
quality
quality &&
size > 0
) {
this.props.onSelectedChange({ id, value: true });
}

Loading…
Cancel
Save