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"
|
: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"
|
||||||
|
|
Loading…
Reference in a new issue