Skip to content

Commit

Permalink
fix: #949 update interested grants count labels (#2097)
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.

Co-authored-by: Tyler Hendrickson <[email protected]>
  • Loading branch information
adele-usdr and TylerHendrickson authored Oct 17, 2023
1 parent c995407 commit 0ec9801
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 0ec9801

Please sign in to comment.