From 2df0614043bc0ea392f8f45f1c19db83b4bb6d52 Mon Sep 17 00:00:00 2001 From: Shelley Nason Date: Fri, 15 Dec 2023 11:11:10 -0600 Subject: [PATCH] feat: add feature flag for category of funding activity search field --- packages/client/public/deploy-config.js | 1 + .../client/src/components/Modals/GrantDetailsLegacy.vue | 7 +++++-- packages/client/src/components/Modals/SearchPanel.vue | 8 ++++++-- packages/client/src/helpers/featureFlags/index.js | 4 ++++ terraform/prod.tfvars | 3 ++- terraform/sandbox.tfvars | 3 ++- terraform/staging.tfvars | 3 ++- 7 files changed, 22 insertions(+), 7 deletions(-) diff --git a/packages/client/public/deploy-config.js b/packages/client/public/deploy-config.js index 2146385e47..9f107bdfd8 100644 --- a/packages/client/public/deploy-config.js +++ b/packages/client/public/deploy-config.js @@ -23,4 +23,5 @@ window.APP_CONFIG.featureFlags = { myProfileEnabled: true, newTerminologyEnabled: true, newGrantsDetailPageEnabled: false, + categoryOfFundingActivitySearchFieldEnabled: true, }; diff --git a/packages/client/src/components/Modals/GrantDetailsLegacy.vue b/packages/client/src/components/Modals/GrantDetailsLegacy.vue index 6a9f4d7c9f..1b29d2fa3a 100644 --- a/packages/client/src/components/Modals/GrantDetailsLegacy.vue +++ b/packages/client/src/components/Modals/GrantDetailsLegacy.vue @@ -22,7 +22,7 @@

{{ titleize(field) }}: {{ selectedGrant[field] }}

-

+

Category of Funding Activity: {{ selectedGrant['funding_activity_categories']?.join(', ') }}

@@ -95,7 +95,7 @@