fix: correction elipsis
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Kazhnuz 2023-02-19 21:29:07 +01:00
parent 4febea92db
commit a2dbf3f3c8

View file

@ -73,8 +73,14 @@ function setPage(page: number) {
:page="5" :page="5"
@click="setPage(5)" @click="setPage(5)"
></PageButton> ></PageButton>
<button disabled class="btn-small bg-grey disabled"></button> <button disabled class="btn-small btn-pagination bg-grey disabled">
<PageButton :current-page="currentPage" :page="pageNbr"></PageButton>
</button>
<PageButton
:current-page="currentPage"
:page="pageNbr"
@click="setPage(pageNbr)"
></PageButton>
</span> </span>
<span v-else-if="isAtEnd"> <span v-else-if="isAtEnd">
<PageButton <PageButton
@ -82,7 +88,9 @@ function setPage(page: number) {
:page="1" :page="1"
@click="setPage(1)" @click="setPage(1)"
></PageButton> ></PageButton>
<button disabled class="btn-small bg-grey disabled"></button> <button disabled class="btn-small bg-grey btn-pagination disabled">
</button>
<PageButton <PageButton
:current-page="currentPage" :current-page="currentPage"
:page="pageNbr - 4" :page="pageNbr - 4"
@ -115,7 +123,9 @@ function setPage(page: number) {
:page="1" :page="1"
@click="setPage(1)" @click="setPage(1)"
></PageButton> ></PageButton>
<button disabled class="btn-small bg-grey disabled"></button> <button disabled class="btn-small bg-grey btn-pagination disabled">
</button>
<PageButton <PageButton
:current-page="currentPage" :current-page="currentPage"
:page="currentPage - 1" :page="currentPage - 1"
@ -127,7 +137,9 @@ function setPage(page: number) {
:page="currentPage + 1" :page="currentPage + 1"
@click="setPage(currentPage + 1)" @click="setPage(currentPage + 1)"
></PageButton> ></PageButton>
<button disabled class="btn-small bg-grey disabled"></button> <button disabled class="btn-small bg-grey btn-pagination disabled">
</button>
<PageButton <PageButton
:current-page="currentPage" :current-page="currentPage"
:page="pageNbr" :page="pageNbr"