diff --git a/frontend/src/Book/Delete/DeleteBookModalContentConnector.js b/frontend/src/Book/Delete/DeleteBookModalContentConnector.js index 9e918588e..1c55226cd 100644 --- a/frontend/src/Book/Delete/DeleteBookModalContentConnector.js +++ b/frontend/src/Book/Delete/DeleteBookModalContentConnector.js @@ -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 diff --git a/frontend/src/Book/Details/BookDetails.js b/frontend/src/Book/Details/BookDetails.js index 4bddffd2c..97bb3b679 100644 --- a/frontend/src/Book/Details/BookDetails.js +++ b/frontend/src/Book/Details/BookDetails.js @@ -496,7 +496,7 @@ class BookDetails extends Component {