Renames in Frontend

This commit is contained in:
Qstick
2020-05-15 23:32:52 -04:00
committed by ta264
parent ee4e44b81a
commit ee43ccf620
387 changed files with 4036 additions and 4364 deletions
@@ -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