Fix signing page: show canvas unless status is signature_received or mail_sent_to_all
This commit is contained in:
parent
937fa922cc
commit
620a2373bb
2 changed files with 3 additions and 2 deletions
|
|
@ -119,7 +119,8 @@ export default function SignPage() {
|
|||
);
|
||||
}
|
||||
|
||||
if (submitted || appt.status !== "pending") {
|
||||
const isSigned = submitted || appt.status === "signature_received" || appt.status === "mail_sent_to_all";
|
||||
if (isSigned) {
|
||||
return (
|
||||
<div className="min-h-screen bg-slate-50 flex items-center justify-center">
|
||||
<div className="bg-white rounded-xl shadow p-8 text-center max-w-sm">
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue