Commit 198de59
committed
fix: handle undefined signers in getAllFiles filter
Add optional chaining to prevent TypeError when value.signers
is undefined in file filtering by signer_uuid. This resolves
the error 'can't access property "filter", value.signers is
undefined' that occurred when navigating to sign PDF page.
The issue occurred when files without initialized signers array
were being filtered, causing the application to crash on the
SignPDF view.
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>1 parent ff165bb commit 198de59
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
285 | | - | |
| 285 | + | |
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
| |||
0 commit comments