fix: set current page of pagination component to 0 by default
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
kolaente 2021-11-14 21:51:25 +01:00
parent c3e8808edf
commit bce7572e66
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
3 changed files with 3 additions and 3 deletions

View File

@ -89,7 +89,7 @@ export default {
},
currentPage: {
type: Number,
required: true,
default: 0,
},
},

View File

@ -120,7 +120,7 @@
<Pagination
:total-pages="taskCollectionService.totalPages"
:current-page="currentPage || 0"
:current-page="currentPage"
/>
</card>

View File

@ -170,7 +170,7 @@
<Pagination
:total-pages="taskCollectionService.totalPages"
:current-page="currentPage || 0"
:current-page="currentPage"
/>
</card>