mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-11 00:06:06 +00:00
fix result by id
This commit is contained in:
@@ -105,7 +105,10 @@
|
||||
<ObjectViewer
|
||||
collapsed={true}
|
||||
json={priorIds}
|
||||
on:select={(e) => dispatch('select', `result_by_id('${e.detail}')`)}
|
||||
on:select={(e) => {
|
||||
const [first, ...second] = e.detail.split('.')
|
||||
dispatch('select', `result_by_id('${first}')${second.length ? '.' + second.join('.') : ''}`)
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user