Skip to content

Commit

Permalink
fix: correct recording check state
Browse files Browse the repository at this point in the history
  • Loading branch information
dvirtz committed Jan 14, 2025
1 parent 4facf54 commit 8b05a02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/acum-work-import/import-album.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ function selectedMediums(entity: Entity, noSelection: boolean, addWarning: AddWa
addWarning('select at least one recording');
return;
case 1:
if (entity == Entity.Work && MB.relationshipEditor.state.selectedRecordings?.size !== 1 && selected.size !== 1) {
if (entity == Entity.Work && MB.relationshipEditor.state.selectedRecordings?.size !== 1) {
addWarning('select exactly one recording');
return;
}
Expand Down

0 comments on commit 8b05a02

Please sign in to comment.