Skip to content

Commit

Permalink
fix: prevent error when click at signer to add to document
Browse files Browse the repository at this point in the history
Signed-off-by: Vitor Mattos <[email protected]>
  • Loading branch information
vitormattos authored and backportbot-libresign[bot] committed Nov 26, 2024
1 parent 42cb85d commit 6fd2b56
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Components/Request/VisibleElements.vue
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,9 @@ export default {
this.filesStore.loading = false
},
onSelectSigner(signer) {
if (!this.$refs.pdfEditor) {
return
}
this.signerSelected = signer
const canvasList = this.$refs.pdfEditor.$refs.vuePdfEditor.$refs.pdfBody.querySelectorAll('canvas')
canvasList.forEach((canvas) => {
Expand Down

0 comments on commit 6fd2b56

Please sign in to comment.