Skip to content

Commit

Permalink
Merge pull request #337 from USEPA/feature/add-2023-frf-school-distri…
Browse files Browse the repository at this point in the history
…ct-name-field

Feature/add 2023 frf school district name field
  • Loading branch information
courtneymyers authored Aug 18, 2023
2 parents 15eca33 + 43d1517 commit 694c4cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
8 changes: 3 additions & 5 deletions app/client/src/routes/submissions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -850,12 +850,10 @@ function FRF2023Submission(props: {
appInfo_uei,
appInfo_efti,
appInfo_orgName,
// TODO: (school district name field)
_formio_schoolDistrictName,
_user_email,
} = frf.formio.data;

const appInfo_schoolDistrictName = null; // TODO: temporary

const date = new Date(frf.formio.modified).toLocaleDateString();
const time = new Date(frf.formio.modified).toLocaleTimeString();

Expand Down Expand Up @@ -1021,8 +1019,8 @@ function FRF2023Submission(props: {
/>
)}
<br />
{Boolean(appInfo_schoolDistrictName) ? (
appInfo_schoolDistrictName
{Boolean(_formio_schoolDistrictName) ? (
_formio_schoolDistrictName
) : (
<TextWithTooltip
text=" "
Expand Down
1 change: 1 addition & 0 deletions app/client/src/utilities.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ type FormioFRF2023Data = {
appInfo_uei: string;
appInfo_efti: string;
appInfo_orgName: string;
_formio_schoolDistrictName: string;
};

export type FormioFRF2022Submission = FormioSubmission & {
Expand Down

0 comments on commit 694c4cf

Please sign in to comment.