We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39257d4 commit ce024e2Copy full SHA for ce024e2
1 file changed
src/utils/signRequestUuid.ts
@@ -47,11 +47,16 @@ export function getSigningRouteUuid(
47
document: DocumentLike | null | undefined,
48
fallbackUuid: string | null = null,
49
): string | null {
50
+ const signerUuid = getCurrentSignerSignRequestUuid(document, fallbackUuid)
51
+ if (isNonEmptyString(signerUuid)) {
52
+ return signerUuid
53
+ }
54
+
55
if (document?.settings?.isApprover === true && isNonEmptyString(document?.uuid)) {
56
return document.uuid
57
}
58
- return getCurrentSignerSignRequestUuid(document, fallbackUuid)
59
+ return null
60
61
62
export function getValidationRouteUuid(document: DocumentLike | null | undefined): string | number | null {
@@ -64,4 +69,4 @@ export function getValidationRouteUuid(document: DocumentLike | null | undefined
64
69
65
70
66
71
return null
67
-}
72
+}
0 commit comments