Skip to content

Commit

Permalink
Update audit-form.component.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
ODORA0 authored Sep 26, 2023
1 parent b02c978 commit 3aef36e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/components/audit-form/audit-form.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,41 +46,41 @@ const AuditForm: React.FC<AuditFormProps> = ({ form }) => {
<StructuredListWrapper>
<StructuredListBody>
<StructuredListRow>
<StructuredListCell>{t("formName")}</StructuredListCell>
<StructuredListCell>{t('formName')}</StructuredListCell>
<StructuredListCell>{name}</StructuredListCell>
</StructuredListRow>
<StructuredListRow>
<StructuredListCell>{t("description")}</StructuredListCell>
<StructuredListCell>{t('description')}</StructuredListCell>
<StructuredListCell>{description}</StructuredListCell>
</StructuredListRow>
<StructuredListRow>
<StructuredListCell>{t("autogeneratedUuid")}</StructuredListCell>
<StructuredListCell>{t('autogeneratedUuid')}</StructuredListCell>
<StructuredListCell>{form?.uuid}</StructuredListCell>
</StructuredListRow>
<StructuredListRow>
<StructuredListCell>{t("version")}</StructuredListCell>
<StructuredListCell>{t('version')}</StructuredListCell>
<StructuredListCell>{version}</StructuredListCell>
</StructuredListRow>
<StructuredListRow>
<StructuredListCell>{t("encounterType")}</StructuredListCell>
<StructuredListCell>{t('encounterType')}</StructuredListCell>
<StructuredListCell>{encounterType}</StructuredListCell>
</StructuredListRow>
<StructuredListRow>
<StructuredListCell>{t("createdBy")}</StructuredListCell>
<StructuredListCell>{t('createdBy')}</StructuredListCell>
<StructuredListCell>
{`${form?.auditInfo?.creator?.display} on ${formatDatetime(

Check failure on line 71 in src/components/audit-form/audit-form.component.tsx

View workflow job for this annotation

GitHub Actions / build

Replace `⏎················parseDate(form?.auditInfo?.dateCreated)⏎··············` with `parseDate(form?.auditInfo?.dateCreated)`
parseDate(form?.auditInfo?.dateCreated)

Check failure on line 72 in src/components/audit-form/audit-form.component.tsx

View workflow job for this annotation

GitHub Actions / build

Unsafe argument of type `any` assigned to a parameter of type `string`
)}`}
</StructuredListCell>
</StructuredListRow>
<StructuredListRow>
<StructuredListCell>{t("editedBy")}</StructuredListCell>
<StructuredListCell>{t('editedBy')}</StructuredListCell>
<StructuredListCell>
{form?.auditInfo?.changedBy?.display
? `${form?.auditInfo?.changedBy?.display} on ${formatDatetime(

Check failure on line 80 in src/components/audit-form/audit-form.component.tsx

View workflow job for this annotation

GitHub Actions / build

Replace `⏎····················parseDate(form?.auditInfo?.dateChanged)⏎··················` with `parseDate(form?.auditInfo?.dateChanged)`
parseDate(form?.auditInfo?.dateChanged)

Check failure on line 81 in src/components/audit-form/audit-form.component.tsx

View workflow job for this annotation

GitHub Actions / build

Unsafe argument of type `any` assigned to a parameter of type `string`
)}`
: "This form has never been editted"}
: 'This form has never been editted'}
</StructuredListCell>
</StructuredListRow>
</StructuredListBody>
Expand Down

0 comments on commit 3aef36e

Please sign in to comment.