From 4a41eda2126a44d71c81d259d62d043384cbef02 Mon Sep 17 00:00:00 2001 From: Vitor Mattos Date: Thu, 24 Oct 2024 14:55:11 -0300 Subject: [PATCH] fix: way to get signer uuid Signed-off-by: Vitor Mattos --- src/views/FilesList/FileEntry/FileEntryActions.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/FilesList/FileEntry/FileEntryActions.vue b/src/views/FilesList/FileEntry/FileEntryActions.vue index d49ad6bed..fbc2f9ecf 100644 --- a/src/views/FilesList/FileEntry/FileEntryActions.vue +++ b/src/views/FilesList/FileEntry/FileEntryActions.vue @@ -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 @@ -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') {