Skip to content

Commit

Permalink
fix: #2312 agency Name not appearing on Recent Activity on Dashboard (#…
Browse files Browse the repository at this point in the history
…2387)

Dashboard.vue:
Remove dead code from GrantsTable feature flag cleanup. This will make it easier to see other warnings.
Use "team" property where it had replaced "agency"
  • Loading branch information
adele-usdr authored Dec 20, 2023
1 parent 576eca4 commit b47376a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/client/src/views/Dashboard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
</div>
</template>
<template #cell(agencyAndGrant)="agencies">
<div>{{ agencies.item.agency }}
<div>{{ agencies.item.team }}
<span v-if="agencies.item.interested === 0" class="color-red" > <strong> rejected </strong> </span>
<span v-if="agencies.item.interested === 1" > is
<span class="color-green">
Expand Down Expand Up @@ -289,8 +289,8 @@ export default {
return (`(${res})`);
},
formatDate(grantCloseDate) {
const warn = this.agency.warning_threshold;
const danger = this.agency.danger_threshold;
const warn = this.team.warning_threshold;
const danger = this.team.danger_threshold;
const closeDatePlusDangerThreshold = new Date(new Date().setDate(new Date().getDate() + danger));
const closeDatePlusWarningThreshold = new Date(new Date().setDate(new Date().getDate() + warn));
// if the grant close date is <= danger date---------------
Expand Down

0 comments on commit b47376a

Please sign in to comment.