Skip to content

Commit

Permalink
Merge pull request #558 from bcgsc/feat/DEVSU-2429-do-not-display-uns…
Browse files Browse the repository at this point in the history
…igned-sigs

do not render missing sigs in print
  • Loading branch information
elewis2 authored Aug 15, 2024
2 parents 8175b11 + 0b928de commit 4e036e2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/components/SignatureCard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,11 @@ const SignatureCard = ({
return null;
}, [signatures, type, isPrint]);

if (isPrint) {
if (isPrint && !userSignature) {
return null
}

if (isPrint && userSignature) {
return (
<span className="signatures-print__group">
<div className="signatures-print__value">
Expand Down

0 comments on commit 4e036e2

Please sign in to comment.