Skip to content

Commit

Permalink
feat: added pager-link data-element to search block pagination (#389)
Browse files Browse the repository at this point in the history
* feat: added data-element for service-link pagination

* chore: updated release.md

* feat: added pager-link data-element to search block pagination

* chore: updated release.md
  • Loading branch information
sabrina-bongiovanni authored Nov 6, 2023
1 parent 348469f commit fbc32a3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@
- ...
-->

## Versione X.X.X (dd/mm/yyyy)

### Novità

- Aggiunto data-element pager-link al paginatore per il blocco Cerca per i quali viene impostata l'opzione service-link.

## Versione 9.0.1 (03/11/2023)

### Migliorie
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,9 @@ const ListingBody = React.memo(

// Need to know if data-element is "service-link"
// to add data-element="pager-link" to pagination links
const isServiceLink = data.id_lighthouse === 'service-link';
const isServiceLink =
data.id_lighthouse === 'service-link' ||
variation.id_lighthouse === 'service-link';

return (
<div className="public-ui">
Expand Down

0 comments on commit fbc32a3

Please sign in to comment.