Skip to content

Commit

Permalink
fix pagination
Browse files Browse the repository at this point in the history
  • Loading branch information
ib-steffen committed Jul 12, 2019
1 parent 7855420 commit af0f9b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dashboard-client/src/components/build/BuildTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
</md-table-row>
</md-table-body>
</md-table>
<md-table-pagination v-if="!this.search.search">
<md-table-pagination v-if="!this.search.search"
:md-size="size"
:md-total="total"
:md-page="page"
Expand Down Expand Up @@ -149,7 +149,7 @@ export default {
computed: {
builds () {
if (this.project.builds.length === 0) {
return
return []
}
const maxBuildNumber = this.project.builds[0].number
this.total = maxBuildNumber
Expand Down

0 comments on commit af0f9b8

Please sign in to comment.