fix go to step

This commit is contained in:
Pete Matsyburka
2024-08-07 23:18:03 +03:00
parent 561b16e9fb
commit 000f3c72fc
2 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
<template>
<template
v-for="step in steps"
v-for="(step, stepIndex) in steps"
:key="step[0].uuid"
>
<template
@@ -31,7 +31,7 @@
:with-label="withLabel && !withFieldPlaceholder"
:is-value-set="step.some((f) => f.uuid in values)"
:attachments-index="attachmentsIndex"
@click="$emit('focus-step', step)"
@click="$emit('focus-step', stepIndex)"
/>
</Teleport>
</template>