From 397150ed7159d5598f74d054493c3c88872b2b9e Mon Sep 17 00:00:00 2001 From: "Robert M. Learney" <39194639+rmlearney-digicatapult@users.noreply.github.com> Date: Mon, 18 Mar 2024 12:20:20 +0000 Subject: [PATCH] Timeline copy changes (#93) * Initiation & Issuance -> Initiated & Issued --- package-lock.json | 4 ++-- package.json | 2 +- src/pages/CertificateViewer.js | 4 ++-- src/pages/components/CertificateCo2Post.js | 4 ++-- src/pages/components/CertificateForm.js | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/package-lock.json b/package-lock.json index e2382ec..d2ea777 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@digicatapult/sqnc-hyproof-client", - "version": "0.3.15", + "version": "0.3.16", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@digicatapult/sqnc-hyproof-client", - "version": "0.3.15", + "version": "0.3.16", "license": "Apache-2.0", "dependencies": { "@digicatapult/ui-component-library": "^0.19.5", diff --git a/package.json b/package.json index a14b52a..7d5fcb7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@digicatapult/sqnc-hyproof-client", - "version": "0.3.15", + "version": "0.3.16", "description": "User interface for HyProof", "homepage": "https://github.com/digicatapult/sqnc-hyproof-client", "main": "src/index.js", diff --git a/src/pages/CertificateViewer.js b/src/pages/CertificateViewer.js index c730456..5baa415 100644 --- a/src/pages/CertificateViewer.js +++ b/src/pages/CertificateViewer.js @@ -145,7 +145,7 @@ export default function CertificateViewer() { > {data?.created_at && formatDate(data?.created_at)} @@ -159,7 +159,7 @@ export default function CertificateViewer() { {data?.state === 'issued' && formatDate(data.updated_at)} diff --git a/src/pages/components/CertificateCo2Post.js b/src/pages/components/CertificateCo2Post.js index e5d3dc5..33d583b 100644 --- a/src/pages/components/CertificateCo2Post.js +++ b/src/pages/components/CertificateCo2Post.js @@ -139,7 +139,7 @@ export default function CertificateCo2Post() { disclaimer={disclaimer} variant={'hyproof'} > - + {dataCertFound && formatDate(dataCertFound.created_at)} - + {dataCertChain?.state == 'issued' && formatDate(dataCertFinal.updated_at)} diff --git a/src/pages/components/CertificateForm.js b/src/pages/components/CertificateForm.js index c2be703..1a7f00a 100644 --- a/src/pages/components/CertificateForm.js +++ b/src/pages/components/CertificateForm.js @@ -141,7 +141,7 @@ export default function CertificateForm() { > {dataFinal?.state === 'initiated' ? dataFinal.created_at : null} @@ -155,7 +155,7 @@ export default function CertificateForm() { {dataFinal?.state === 'issued' && formatDate(dataFinal.updated_at)}