Skip to content

Commit

Permalink
change(search): added possibility to configure button url in search p…
Browse files Browse the repository at this point in the history
…opup #345 from eea/searchpopup_update
  • Loading branch information
ichim-david committed May 10, 2023
2 parents 13ee554 + 91cd277 commit 112e97e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ui/Header/HeaderSearchPopUp.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ function HeaderSearchPopUp({
const {
path = '',
buttonTitle,
buttonUrl,
description,
placeholder = 'Search',
searchSuggestions,
Expand Down Expand Up @@ -115,7 +116,7 @@ function HeaderSearchPopUp({
<Container>
<div>{description}</div>
<a
href={defaultView[0].path}
href={buttonUrl || defaultView[0].path}
className="ui button white inverted"
title="Advanced search"
>
Expand Down

0 comments on commit 112e97e

Please sign in to comment.