Skip to content
This repository has been archived by the owner on Oct 9, 2024. It is now read-only.

Commit

Permalink
Timeline copy changes (#93)
Browse files Browse the repository at this point in the history
* Initiation & Issuance -> Initiated & Issued
  • Loading branch information
rmlearney-digicatapult authored Mar 18, 2024
1 parent 9d44182 commit 397150e
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 2 additions & 2 deletions src/pages/CertificateViewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export default function CertificateViewer() {
>
<Timeline.Item
variant="hyproof"
title={'Initiation'}
title={'Initiated'}
checked={data?.created_at}
>
{data?.created_at && formatDate(data?.created_at)}
Expand All @@ -159,7 +159,7 @@ export default function CertificateViewer() {
</Timeline.Item>
<Timeline.Item
variant="hyproof"
title={'Issuance'}
title={'Issued'}
checked={data?.state === 'issued'}
>
{data?.state === 'issued' && formatDate(data.updated_at)}
Expand Down
4 changes: 2 additions & 2 deletions src/pages/components/CertificateCo2Post.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export default function CertificateCo2Post() {
disclaimer={disclaimer}
variant={'hyproof'}
>
<Timeline.Item variant="hyproof" title={'Initiation'} checked={true}>
<Timeline.Item variant="hyproof" title={'Initiated'} checked={true}>
{dataCertFound && formatDate(dataCertFound.created_at)}
</Timeline.Item>
<Timeline.Item
Expand All @@ -150,7 +150,7 @@ export default function CertificateCo2Post() {
{dataCertChain?.embodied_co2 &&
formatDate(dataCertChain.updated_at)}
</Timeline.Item>
<Timeline.Item variant="hyproof" title={'Issuance'} checked={false}>
<Timeline.Item variant="hyproof" title={'Issued'} checked={false}>
{dataCertChain?.state == 'issued' &&
formatDate(dataCertFinal.updated_at)}
</Timeline.Item>
Expand Down
4 changes: 2 additions & 2 deletions src/pages/components/CertificateForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export default function CertificateForm() {
>
<Timeline.Item
variant="hyproof"
title={'Initiation'}
title={'Initiated'}
checked={dataFinal?.state === 'initiated'}
>
{dataFinal?.state === 'initiated' ? dataFinal.created_at : null}
Expand All @@ -155,7 +155,7 @@ export default function CertificateForm() {
</Timeline.Item>
<Timeline.Item
variant="hyproof"
title={'Issuance'}
title={'Issued'}
checked={dataFinal?.state === 'issued'}
>
{dataFinal?.state === 'issued' && formatDate(dataFinal.updated_at)}
Expand Down

0 comments on commit 397150e

Please sign in to comment.