From 278cd8a9de29a0d02fa99eef130e5637daa8aa6a Mon Sep 17 00:00:00 2001 From: Mythie Date: Thu, 17 Apr 2025 12:49:08 +1000 Subject: [PATCH] fix: always show ip and useragent in certificate --- .../_internal+/[__htmltopdf]+/certificate.tsx | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/apps/remix/app/routes/_internal+/[__htmltopdf]+/certificate.tsx b/apps/remix/app/routes/_internal+/[__htmltopdf]+/certificate.tsx index 025efdada..acf11e935 100644 --- a/apps/remix/app/routes/_internal+/[__htmltopdf]+/certificate.tsx +++ b/apps/remix/app/routes/_internal+/[__htmltopdf]+/certificate.tsx @@ -249,24 +249,24 @@ export default function SigningCertificate({ loaderData }: Route.ComponentProps) {signature.secondaryId}

- -

- {_(msg`IP Address`)}:{' '} - - {logs.DOCUMENT_RECIPIENT_COMPLETED[0]?.ipAddress ?? _(msg`Unknown`)} - -

- -

- {_(msg`Device`)}:{' '} - - {getDevice(logs.DOCUMENT_RECIPIENT_COMPLETED[0]?.userAgent)} - -

) : (

N/A

)} + +

+ {_(msg`IP Address`)}:{' '} + + {logs.DOCUMENT_RECIPIENT_COMPLETED[0]?.ipAddress ?? _(msg`Unknown`)} + +

+ +

+ {_(msg`Device`)}:{' '} + + {getDevice(logs.DOCUMENT_RECIPIENT_COMPLETED[0]?.userAgent)} + +