Commit a6bf9f3
committed
fix(SignFileService): include placed elements when signer submits no image
When canCreateSignature is true but the signer performs a clickToSign
(no drawn image submitted), the DB file element was silently skipped,
producing an empty visibleElements list and no stamp on the document.
Include the element with an empty tempFile so the admin background
image (n0 layer) is still rendered in the signature stamp.
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>1 parent 893bb99 commit a6bf9f3
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
289 | 293 | | |
290 | 294 | | |
291 | 295 | | |
| |||
0 commit comments