From 562cb296d1c83b8be6588b6cbedc1e20fa148a4b Mon Sep 17 00:00:00 2001 From: Vitor Mattos <1079143+vitormattos@users.noreply.github.com> Date: Fri, 12 Dec 2025 13:38:03 -0300 Subject: [PATCH] fix: update modal title to reflect edit vs add signer action The modal dialog was displaying 'Add new signer' title when clicking an existing signer to edit, which was confusing. Added a computed property 'modalTitle' that dynamically returns 'Edit signer' when editing an existing signer or 'Add new signer' when adding a new one. The logic checks if signerToEdit object has properties to determine the correct context. Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com> --- src/Components/RightSidebar/RequestSignatureTab.vue | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/Components/RightSidebar/RequestSignatureTab.vue b/src/Components/RightSidebar/RequestSignatureTab.vue index 582f5e9f4..9655dd5e4 100644 --- a/src/Components/RightSidebar/RequestSignatureTab.vue +++ b/src/Components/RightSidebar/RequestSignatureTab.vue @@ -117,9 +117,9 @@ - + 0) { + return this.t('libresign', 'Edit signer') + } + return this.t('libresign', 'Add new signer') + }, }, watch: { signers(signers) {