Fix issue with automation action for executing external data connector. Closes #1559

This commit is contained in:
Andrew Kingston 2021-05-26 09:02:59 +01:00
parent 29f81ffe0d
commit 7e95961542
1 changed files with 7 additions and 6 deletions

View File

@ -16,12 +16,13 @@
</script> </script>
<div class="block-field"> <div class="block-field">
<Select bind:value={value.queryId} extraThin secondary> <Select
<option value="">Choose an option</option> label="Query"
{#each $queries.list as query} bind:value={value.queryId}
<option value={query._id}>{query.name}</option> options={$queries.list}
{/each} getOptionValue={query => query._id}
</Select> getOptionLabel={query => query.name}
/>
</div> </div>
{#if parameters.length} {#if parameters.length}