Fixed: Author not found error when deleting book

Fixes #403
This commit is contained in:
ta264
2020-08-29 16:08:30 +01:00
parent 7fe8702584
commit ba92586b8b
2 changed files with 3 additions and 3 deletions
@@ -35,7 +35,7 @@ class DeleteBookModalContentConnector extends Component {
this.props.onModalClose(true);
this.props.push(`${window.Readarr.urlBase}/author/${this.props.titleSlug}`);
this.props.push(`${window.Readarr.urlBase}/author/${this.props.authorSlug}`);
}
//
@@ -53,7 +53,7 @@ class DeleteBookModalContentConnector extends Component {
DeleteBookModalContentConnector.propTypes = {
bookId: PropTypes.number.isRequired,
titleSlug: PropTypes.string.isRequired,
authorSlug: PropTypes.string.isRequired,
push: PropTypes.func.isRequired,
onModalClose: PropTypes.func.isRequired,
deleteBook: PropTypes.func.isRequired