Skip to content

Commit ebea397

Browse files
danedavidwardpeet
authored andcommitted
fix(www): Persist showcase filters while browsing more than one item (#11063)
Fixes #10971
1 parent 68a01e7 commit ebea397

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

www/src/components/showcase-details.js

+2
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ const ShowcaseDetails = ({ parent, data, isModal, categories }) => (
144144
to={nextSite.fields.slug}
145145
state={{
146146
isModal: true,
147+
filters: parent.props.location.state.filters,
147148
}}
148149
css={{
149150
display: `block`,
@@ -196,6 +197,7 @@ const ShowcaseDetails = ({ parent, data, isModal, categories }) => (
196197
to={previousSite.fields.slug}
197198
state={{
198199
isModal: true,
200+
filters: parent.props.location.state.filters,
199201
}}
200202
css={{
201203
display: `block`,

0 commit comments

Comments
 (0)