mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-26 19:44:57 +02:00
Fix result editor (#9653)
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user