Skip to content

Commit eed3a8f

Browse files
committed
fix: add pending changes after backport
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent 42b1bea commit eed3a8f

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

src/services/SigningRequirementValidator.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ interface ValidatorConfig {
3535
errors?: Array<{ code?: number; [key: string]: unknown }>
3636
hasSignatures?: boolean
3737
canCreateSignature?: boolean
38-
signerHasSignRequest?: boolean
3938
[key: string]: unknown
4039
}
4140

@@ -122,11 +121,7 @@ export class SigningRequirementValidator {
122121
return false
123122
}
124123

125-
if (config.signerHasSignRequest) {
126-
return true
127-
}
128-
129124
const visibleElements = this.signStore.document?.visibleElements || []
130-
return visibleElements.some(row => row.signRequestId === signRequestId)
125+
return visibleElements.some(row => String(row.signRequestId) === String(signRequestId))
131126
}
132127
}

0 commit comments

Comments
 (0)