Skip to content

Commit 0a129e4

Browse files
committed
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 <[email protected]>
1 parent 4c740d9 commit 0a129e4

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/Components/Request/VisibleElements.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,8 @@
3232
</li>
3333
<Signer v-for="(signer, key) in document.signers"
3434
:key="key"
35-
:current-signer="key"
35+
:signer-index="key"
3636
:class="{ disabled: signerSelected }"
37-
:signer="signer"
3837
event="libresign:visible-elements-select-signer">
3938
<slot v-bind="{signer}" slot="actions" name="actions" />
4039
</Signer>

0 commit comments

Comments
 (0)