Skip to content

Commit

Permalink
New: Don't initially select 0 byte files in Interactive Import
Browse files Browse the repository at this point in the history
(cherry picked from commit 04bd535cfca5e25c6a2d5417c6f18d5bf5180f67)

Closes #4776
  • Loading branch information
stevietv authored and mynameisbogdan committed Apr 28, 2024
1 parent 580e4be commit 8b57b33
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,16 @@ class InteractiveImportRow extends Component {
artist,
album,
tracks,
quality
quality,
size
} = this.props;

if (
artist &&
album != null &&
tracks.length &&
quality
quality &&
size > 0
) {
this.props.onSelectedChange({ id, value: true });
}
Expand Down

0 comments on commit 8b57b33

Please sign in to comment.