Fix result editor (#9653)

This commit is contained in:
Denis Bykhov
2025-08-07 21:30:44 +07:00
committed by GitHub
parent f3909a819c
commit 63a6efdb71
2 changed files with 3 additions and 4 deletions
@@ -91,9 +91,8 @@
}
function handleNameChange (e: any): void {
if (e.detail !== undefined && step.result != null && name !== e.detail) {
step.result.name = e.detail
name = e.detail
if (step.result != null) {
step.result.name = name
dispatch('change', step)
}
}
@@ -62,7 +62,7 @@
</div>
<div class="divider" />
{#key step._id}
<ResultEditor {step} on:chage={changeResult} />
<ResultEditor {step} on:change={changeResult} />
{/key}
<style lang="scss">