fix: correction elipsis
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
4febea92db
commit
a2dbf3f3c8
1 changed files with 17 additions and 5 deletions
|
@ -73,8 +73,14 @@ function setPage(page: number) {
|
|||
:page="5"
|
||||
@click="setPage(5)"
|
||||
></PageButton>
|
||||
<button disabled class="btn-small bg-grey disabled">…</button>
|
||||
<PageButton :current-page="currentPage" :page="pageNbr"></PageButton>
|
||||
<button disabled class="btn-small btn-pagination bg-grey disabled">
|
||||
…
|
||||
</button>
|
||||
<PageButton
|
||||
:current-page="currentPage"
|
||||
:page="pageNbr"
|
||||
@click="setPage(pageNbr)"
|
||||
></PageButton>
|
||||
</span>
|
||||
<span v-else-if="isAtEnd">
|
||||
<PageButton
|
||||
|
@ -82,7 +88,9 @@ function setPage(page: number) {
|
|||
:page="1"
|
||||
@click="setPage(1)"
|
||||
></PageButton>
|
||||
<button disabled class="btn-small bg-grey disabled">…</button>
|
||||
<button disabled class="btn-small bg-grey btn-pagination disabled">
|
||||
…
|
||||
</button>
|
||||
<PageButton
|
||||
:current-page="currentPage"
|
||||
:page="pageNbr - 4"
|
||||
|
@ -115,7 +123,9 @@ function setPage(page: number) {
|
|||
:page="1"
|
||||
@click="setPage(1)"
|
||||
></PageButton>
|
||||
<button disabled class="btn-small bg-grey disabled">…</button>
|
||||
<button disabled class="btn-small bg-grey btn-pagination disabled">
|
||||
…
|
||||
</button>
|
||||
<PageButton
|
||||
:current-page="currentPage"
|
||||
:page="currentPage - 1"
|
||||
|
@ -127,7 +137,9 @@ function setPage(page: number) {
|
|||
:page="currentPage + 1"
|
||||
@click="setPage(currentPage + 1)"
|
||||
></PageButton>
|
||||
<button disabled class="btn-small bg-grey disabled">…</button>
|
||||
<button disabled class="btn-small bg-grey btn-pagination disabled">
|
||||
…
|
||||
</button>
|
||||
<PageButton
|
||||
:current-page="currentPage"
|
||||
:page="pageNbr"
|
||||
|
|
Loading…
Reference in a new issue