Skip to content

Commit

Permalink
fix(grants): check for null data and feature flag (#3754)
Browse files Browse the repository at this point in the history
  • Loading branch information
lsr-explore authored Nov 22, 2024
1 parent 6950602 commit 0284aff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/client/src/components/GrantsTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -298,9 +298,9 @@ export default {
: grant.viewed_by_agencies
.map((v) => v.agency_abbreviation)
.join(', '),
followed_by_agencies: grant.followed_by_agencies
followed_by_agencies: grant.followed_by_agencies && followNotesEnabled() ? grant.followed_by_agencies
.map((v) => v.agency_name)
.join(', '),
.join(', ') : [],
status: grant.opportunity_status,
award_ceiling: grant.award_ceiling,
open_date: new Date(grant.open_date).toLocaleDateString('en-US', { timeZone: 'UTC' }),
Expand Down

0 comments on commit 0284aff

Please sign in to comment.