Skip to content

Commit c24ea83

Browse files
committed
Now using the local property
1 parent 2cb0045 commit c24ea83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/views/EventList.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export default {
3434
return parseInt(this.$route.query.page) || 1
3535
},
3636
hasNextPage() {
37-
return this.eventsTotal > this.page * 3
37+
return this.eventsTotal > this.page * this.perPage
3838
},
3939
...mapState(['events', 'eventsTotal'])
4040
}

0 commit comments

Comments
 (0)