fix: set current page of pagination component to 0 by default
continuous-integration/drone/pr Build is passing
Details
continuous-integration/drone/pr Build is passing
Details
This commit is contained in:
parent
c3e8808edf
commit
bce7572e66
|
@ -89,7 +89,7 @@ export default {
|
|||
},
|
||||
currentPage: {
|
||||
type: Number,
|
||||
required: true,
|
||||
default: 0,
|
||||
},
|
||||
},
|
||||
|
||||
|
|
|
@ -120,7 +120,7 @@
|
|||
|
||||
<Pagination
|
||||
:total-pages="taskCollectionService.totalPages"
|
||||
:current-page="currentPage || 0"
|
||||
:current-page="currentPage"
|
||||
/>
|
||||
</card>
|
||||
|
||||
|
|
|
@ -170,7 +170,7 @@
|
|||
|
||||
<Pagination
|
||||
:total-pages="taskCollectionService.totalPages"
|
||||
:current-page="currentPage || 0"
|
||||
:current-page="currentPage"
|
||||
/>
|
||||
</card>
|
||||
|
||||
|
|
Reference in New Issue