fix: correct Signer component prop in VisibleElements

The Signer component expects signerIndex prop but VisibleElements
was passing current-signer instead. This caused Vue warnings about
missing required prop and errors when trying to access signer data.

Changed :current-signer to :signer-index and removed obsolete
:signer prop since the component now fetches signer data from
the store using the signerIndex.

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
This commit is contained in:
Vitor Mattos 2025-12-11 20:10:46 -03:00
parent 4c740d9c6c
commit 0a129e4aaf
No known key found for this signature in database
GPG key ID: 6FECE2AD4809003A

View file

@ -32,9 +32,8 @@
</li>
<Signer v-for="(signer, key) in document.signers"
:key="key"
:current-signer="key"
:signer-index="key"
:class="{ disabled: signerSelected }"
:signer="signer"
event="libresign:visible-elements-select-signer">
<slot v-bind="{signer}" slot="actions" name="actions" />
</Signer>