event > workflow ..added default blank option to workflow dropdown

This commit is contained in:
Michael Shanks 2020-06-24 11:58:46 +01:00
parent 393c63485f
commit 6041003115
1 changed files with 1 additions and 0 deletions

View File

@ -25,6 +25,7 @@
{/if} {/if}
{#if parameter.name === 'workflow'} {#if parameter.name === 'workflow'}
<Select on:change bind:value={parameter.value}> <Select on:change bind:value={parameter.value}>
<option value=""></option>
{#each $workflowStore.workflows.filter(wf => wf.live) as workflow} {#each $workflowStore.workflows.filter(wf => wf.live) as workflow}
<option value={workflow._id}>{workflow.name}</option> <option value={workflow._id}>{workflow.name}</option>
{/each} {/each}