Skip to content

Commit

Permalink
feat(filter component): add parameter for apply filters button text (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
stalwartsolutions committed Jun 8, 2023
1 parent 87155c5 commit 5362f1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/moj/components/filter/template.njk
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<div class="moj-filter__options">

{{ govukButton({
text: 'Apply filters',
text: params.submit.text if params.submit.text else 'Apply filters',
attributes: params.submit.attributes
}) }}

Expand Down

0 comments on commit 5362f1e

Please sign in to comment.