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

Commit

Permalink
HYP 181 New Cert Btn Only for Heidi (#94)
Browse files Browse the repository at this point in the history
* The New Certificate btn render only 4 heidi
  • Loading branch information
dc-andysign authored Mar 18, 2024
1 parent 397150e commit 4cf501c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 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.16",
"version": "0.3.17",
"description": "User interface for HyProof",
"homepage": "https://github.com/digicatapult/sqnc-hyproof-client",
"main": "src/index.js",
Expand Down
8 changes: 5 additions & 3 deletions src/pages/CertificatesViewAll.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,11 @@ export default function CertificatesViewAll() {
{data?.length === 0 && 'nothing to render'}
</Main>
<Sidebar area="sidebar">
<LargeButton variant="roundedPronounced">
<Link to="/certificate?create=y">New Certificate</Link>
</LargeButton>
{persona.id === 'heidi' && (
<LargeButton variant="roundedPronounced">
<Link to="/certificate?create=y">New Certificate</Link>
</LargeButton>
)}
</Sidebar>
</>
)
Expand Down

0 comments on commit 4cf501c

Please sign in to comment.