fix(documents): SigningDetailsDialog — partially_signed key match

mapWorkflowStatus had key 'partial:' but the schema status string is
'partially_signed'. The mismatch fell through to the 'pending' default
so a partially-signed workflow rendered the wrong pill colour. Aligns
the lookup key with the actual status enum.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-11 12:32:21 +02:00
parent 2129fbdf15
commit 13fe3841d1

View File

@@ -150,7 +150,7 @@ function mapWorkflowStatus(status: string): StatusPillStatus {
pending: 'pending',
draft: 'draft',
sent: 'sent',
partial: 'partial',
partially_signed: 'partial',
completed: 'completed',
signed: 'signed',
expired: 'expired',