From 3b5606b12c9c1a45682268b17d2a486646deb0d1 Mon Sep 17 00:00:00 2001 From: adele-usdr <146878468+adele-usdr@users.noreply.github.com> Date: Tue, 19 Dec 2023 11:01:40 -0800 Subject: [PATCH] fix: #2312 agency Name not appearing on Recent Activity on Dashboard 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" --- packages/client/src/views/Dashboard.vue | 39 +++---------------------- 1 file changed, 4 insertions(+), 35 deletions(-) diff --git a/packages/client/src/views/Dashboard.vue b/packages/client/src/views/Dashboard.vue index 8aa3673466..981163bfc6 100644 --- a/packages/client/src/views/Dashboard.vue +++ b/packages/client/src/views/Dashboard.vue @@ -26,7 +26,7 @@ @@ -416,8 +385,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---------------