From ebf4f17f178a985c7aa2657096b4444f2ae4ba02 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Thu, 28 Feb 2019 20:00:08 -0800 Subject: [PATCH] Fix route to series details from search input --- frontend/src/Components/Page/Header/SeriesSearchInput.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/Components/Page/Header/SeriesSearchInput.js b/frontend/src/Components/Page/Header/SeriesSearchInput.js index a2b70addb..88be919d5 100644 --- a/frontend/src/Components/Page/Header/SeriesSearchInput.js +++ b/frontend/src/Components/Page/Header/SeriesSearchInput.js @@ -90,9 +90,9 @@ class SeriesSearchInput extends Component { ); } - goToSeries(series) { + goToSeries(item) { this.setState({ value: '' }); - this.props.onGoToSeries(series.titleSlug); + this.props.onGoToSeries(item.item.titleSlug); } reset() {