mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-17 21:25:39 -04:00
New: Readarr 0.1
This commit is contained in:
@@ -36,13 +36,13 @@ class RetagPreviewModalContentConnector extends Component {
|
||||
|
||||
componentDidMount() {
|
||||
const {
|
||||
artistId,
|
||||
albumId
|
||||
authorId,
|
||||
bookId
|
||||
} = this.props;
|
||||
|
||||
this.props.fetchRetagPreview({
|
||||
artistId,
|
||||
albumId
|
||||
authorId,
|
||||
bookId
|
||||
});
|
||||
}
|
||||
|
||||
@@ -52,7 +52,7 @@ class RetagPreviewModalContentConnector extends Component {
|
||||
onRetagPress = (files) => {
|
||||
this.props.executeCommand({
|
||||
name: commandNames.RETAG_FILES,
|
||||
artistId: this.props.artistId,
|
||||
authorId: this.props.authorId,
|
||||
files
|
||||
});
|
||||
|
||||
@@ -73,8 +73,8 @@ class RetagPreviewModalContentConnector extends Component {
|
||||
}
|
||||
|
||||
RetagPreviewModalContentConnector.propTypes = {
|
||||
artistId: PropTypes.number.isRequired,
|
||||
albumId: PropTypes.number,
|
||||
authorId: PropTypes.number.isRequired,
|
||||
bookId: PropTypes.number,
|
||||
isPopulated: PropTypes.bool.isRequired,
|
||||
isFetching: PropTypes.bool.isRequired,
|
||||
fetchRetagPreview: PropTypes.func.isRequired,
|
||||
|
||||
Reference in New Issue
Block a user