Skip to content

Commit

Permalink
always display the submission date for submitted submissions
Browse files Browse the repository at this point in the history
  • Loading branch information
pearl-truss committed Apr 29, 2024
1 parent 2b6439e commit d070303
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import {
import { GenericErrorPage } from '../../../../Errors/GenericErrorPage'
import { getVisibleLatestContractFormData } from '../../../../../gqlHelpers/contractsAndRates'
import { Program, Contract } from '../../../../../gen/gqlClient'
import { usePreviousSubmission } from '../../../../../hooks/usePreviousSubmission'
import { booleanAsYesNoUserValue } from '../../../../../components/Form/FieldYesNo/FieldYesNo'
import { SectionCard } from '../../../../../components/SectionCard'
import styles from '../../../../../components/SubmissionSummarySection/SubmissionSummarySection.module.scss'
Expand All @@ -37,7 +36,6 @@ export const SubmissionTypeSummarySectionV2 = ({
submissionName,
isStateUser,
}: SubmissionTypeSummarySectionV2Props): React.ReactElement => {
const isPreviousSubmission = usePreviousSubmission()
const contractFormData = getVisibleLatestContractFormData(
contract,
isStateUser
Expand All @@ -63,7 +61,7 @@ export const SubmissionTypeSummarySectionV2 = ({
{headerChildComponent && headerChildComponent}
</SectionHeader>
<dl>
{isSubmitted && !isPreviousSubmission && (
{isSubmitted && (
<DoubleColumnGrid>
<DataDetail
id="submitted"
Expand Down

0 comments on commit d070303

Please sign in to comment.