mirror of
https://github.com/LibreSign/libresign.git
synced 2025-12-17 21:12:16 +01:00
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:
parent
4c740d9c6c
commit
0a129e4aaf
1 changed files with 1 additions and 2 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue