New: Readarr 0.1

This commit is contained in:
ta264
2020-05-06 21:14:11 +01:00
parent 476f2d6047
commit 08496c82af
911 changed files with 14837 additions and 24442 deletions
@@ -40,13 +40,13 @@ class OrganizePreviewModalContentConnector extends Component {
componentDidMount() {
const {
artistId,
albumId
authorId,
bookId
} = this.props;
this.props.fetchOrganizePreview({
artistId,
albumId
authorId,
bookId
});
this.props.fetchNamingSettings();
@@ -58,7 +58,7 @@ class OrganizePreviewModalContentConnector extends Component {
onOrganizePress = (files) => {
this.props.executeCommand({
name: commandNames.RENAME_FILES,
artistId: this.props.artistId,
authorId: this.props.authorId,
files
});
@@ -79,8 +79,8 @@ class OrganizePreviewModalContentConnector extends Component {
}
OrganizePreviewModalContentConnector.propTypes = {
artistId: PropTypes.number.isRequired,
albumId: PropTypes.number,
authorId: PropTypes.number.isRequired,
bookId: PropTypes.number,
fetchOrganizePreview: PropTypes.func.isRequired,
fetchNamingSettings: PropTypes.func.isRequired,
executeCommand: PropTypes.func.isRequired,