From 8b57b33c9912537c4606f90756c1e89bcc6f7e9c Mon Sep 17 00:00:00 2001 From: Stevie Robinson Date: Sun, 28 Apr 2024 03:07:41 +0200 Subject: [PATCH] New: Don't initially select 0 byte files in Interactive Import (cherry picked from commit 04bd535cfca5e25c6a2d5417c6f18d5bf5180f67) Closes #4776 --- .../InteractiveImport/Interactive/InteractiveImportRow.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/frontend/src/InteractiveImport/Interactive/InteractiveImportRow.js b/frontend/src/InteractiveImport/Interactive/InteractiveImportRow.js index af3734406..f5395ccbc 100644 --- a/frontend/src/InteractiveImport/Interactive/InteractiveImportRow.js +++ b/frontend/src/InteractiveImport/Interactive/InteractiveImportRow.js @@ -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 }); }