Fix signing page: show canvas unless status is signature_received or mail_sent_to_all

This commit is contained in:
Dave 2026-08-17 21:57:11 +02:00
parent 937fa922cc
commit 620a2373bb
2 changed files with 3 additions and 2 deletions

View file

@ -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