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

(cherry picked from commit 04bd535cfca5e25c6a2d5417c6f18d5bf5180f67)

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

@ -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…
Cancel
Save