fix: currentPage of pagination component is undefined #1002

Merged
konrad merged 2 commits from fix/current-page-undefined into main 2021-11-14 21:06:26 +00:00
3 changed files with 3 additions and 3 deletions
Showing only changes of commit bce7572e66 - Show all commits

View File

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

View File

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

View File

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