mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-04-22 22:16:13 -04:00
@@ -178,6 +178,11 @@ class InteractiveImportModalContentConnector extends Component {
|
||||
const existingFiles = [];
|
||||
const files = [];
|
||||
|
||||
if (importMode === 'chooseImportMethod') {
|
||||
this.setState({ interactiveImportErrorMessage: 'An import mode must be selected' });
|
||||
return;
|
||||
}
|
||||
|
||||
items.forEach((item) => {
|
||||
const isSelected = selected.indexOf(item.id) > -1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user