Skip to content

Commit ed9bf30

Browse files
author
ppinette
committed
fix(pagination): 🐛 retire la notion de disabled sur les tags a
1 parent 2ffee87 commit ed9bf30

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/components/DsfrPagination/DsfrPagination.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ const isCurrentPage = (page: Page) => props.pages.indexOf(page) === props.curren
4747
:href="pages[0]?.href"
4848
class="fr-pagination__link fr-pagination__link--first"
4949
:title="firstPageTitle"
50-
:disabled="currentPage === 0 ? true : undefined"
5150
:aria-disabled="currentPage === 0 ? true : undefined"
5251
@click.prevent="tofirstPage()"
5352
/>
@@ -57,7 +56,6 @@ const isCurrentPage = (page: Page) => props.pages.indexOf(page) === props.curren
5756
:href="pages[Math.max(currentPage - 1, 0)]?.href"
5857
class="fr-pagination__link fr-pagination__link--prev fr-pagination__link--lg-label"
5958
:title="prevPageTitle"
60-
:disabled="currentPage === 0 ? true : undefined"
6159
:aria-disabled="currentPage === 0 ? true : undefined"
6260
@click.prevent="toPreviousPage()"
6361
>{{ prevPageTitle }}</a>

0 commit comments

Comments
 (0)