mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-19 21:44:30 -04:00
Renames in Frontend
This commit is contained in:
+8
-8
@@ -122,19 +122,19 @@ class InteractiveImportModalContentConnector extends Component {
|
||||
|
||||
if (isSelected) {
|
||||
const {
|
||||
artist,
|
||||
album,
|
||||
author,
|
||||
book,
|
||||
quality,
|
||||
disableReleaseSwitching
|
||||
} = item;
|
||||
|
||||
if (!artist) {
|
||||
this.setState({ interactiveImportErrorMessage: 'Artist must be chosen for each selected file' });
|
||||
if (!author) {
|
||||
this.setState({ interactiveImportErrorMessage: 'Author must be chosen for each selected file' });
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!album) {
|
||||
this.setState({ interactiveImportErrorMessage: 'Album must be chosen for each selected file' });
|
||||
if (!book) {
|
||||
this.setState({ interactiveImportErrorMessage: 'Book must be chosen for each selected file' });
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -145,8 +145,8 @@ class InteractiveImportModalContentConnector extends Component {
|
||||
|
||||
files.push({
|
||||
path: item.path,
|
||||
authorId: artist.id,
|
||||
bookId: album.id,
|
||||
authorId: author.id,
|
||||
bookId: book.id,
|
||||
quality,
|
||||
downloadId: this.props.downloadId,
|
||||
disableReleaseSwitching
|
||||
|
||||
Reference in New Issue
Block a user