Skip to content

Commit

Permalink
fix: #949 update interested grants count labels
Browse files Browse the repository at this point in the history
Update totalRows and label to use counts that are filtered or not filtered properly.
  • Loading branch information
adele-usdr committed Oct 16, 2023
1 parent 63d0abb commit 5de6849
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/client/src/views/RecentActivity.vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
<b-pagination class="m-0" v-model="currentPage" :total-rows="totalRows" :per-page="perPage" first-number
last-number first-text="First" prev-text="Prev" next-text="Next" last-text="Last"
aria-controls="grants-table" />
<b-button class="ml-2" variant="outline-primary disabled">{{ grantsInterested.length }} of {{ totalRows }}</b-button>
<b-button class="ml-2" variant="outline-primary disabled">{{ totalInterestedGrants }} of {{ totalRows }}</b-button>
</b-row>
<GrantDetails :selected-grant.sync="selectedGrant" />
</section>
Expand Down Expand Up @@ -166,7 +166,7 @@ export default {
}));
},
totalRows() {
return this.totalInterestedGrants;
return this.grantsInterested.length;
},
},
watch: {
Expand Down

0 comments on commit 5de6849

Please sign in to comment.