Skip to content

Commit

Permalink
fix: way to get signer uuid
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 5, 2024
1 parent 13d4094 commit e812cdb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/FilesList/FileEntry/FileEntryActions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ export default {
this.openedMenu = null
this.sidebarStore.hideSidebar()
if (action.id === 'sign') {
const signer = this.source.signers
const sign_uuid = this.source.signers
.reduce((accumulator, signer) => {
if (signer.me) {
return signer.sign_uuid
Expand All @@ -156,7 +156,7 @@ export default {
}, '')
this.signStore.setDocumentToSign(this.source)
this.$router.push({ name: 'SignPDF', params: {
uuid: signer.sign_uui
uuid: sign_uuid
}})
this.filesStore.selectFile(this.source.nodeId)
} else if (action.id === 'validate') {
Expand Down

0 comments on commit e812cdb

Please sign in to comment.