Skip to content

Commit

Permalink
Merge pull request #382 from USEPA/feature/update-no-active-sam-message
Browse files Browse the repository at this point in the history
Feature/update no active sam message
  • Loading branch information
courtneymyers authored Feb 20, 2024
2 parents 65e8ffe + bb55da5 commit 2903ad7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion app/client/src/config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,11 @@ export const messages = {
samlError: "Error logging in. Please try again or contact support.",
bapSamFetchError: "Error loading SAM.gov data. Please contact support.",
bapNoSamResults:
"No SAM.gov records match your email. Only Government and Electronic Business SAM.gov Points of Contacts (and alternates) may edit and submit Clean School Bus Rebate Forms.",
"No SAM.gov accounts match your email. Only Government and Electronic Business SAM.gov Points of Contacts (and alternates) may edit and submit Clean School Bus Rebate Forms.",
bapSamEntityNotActive:
"Your SAM.gov account is currently not active. Activate your SAM.gov account to access this submission.",
bapSamNoActiveEntities:
"There are no active SAM.gov accounts associated with your email. Ensure you have at least one active SAM.gov account to create a new application.",
bapSamAtLeastOneEntityNotActive:
"At least one of your SAM.gov accounts is currently not active. Any submissions associated with that SAM.gov account will be inaccessible until the account is re-activated.",
formSubmissionError:
Expand Down
5 changes: 4 additions & 1 deletion app/client/src/routes/frfNew.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,10 @@ export function FRFNew() {
</div>
) : activeSamEntities.length <= 0 ? (
<div className={clsx("-tw-mb-4")}>
<Message type="info" text={messages.bapNoSamResults} />
<Message
type="info"
text={messages.bapSamNoActiveEntities}
/>
</div>
) : (
<>
Expand Down

0 comments on commit 2903ad7

Please sign in to comment.