{#if options.length > 1}
{/if}
x.value == initialPath)} class="grow" on:change={() => { dispatch('select', { path: scriptPath }) }} bind:justValue={scriptPath} {items} placeholder="Pick a {itemKind}" /> {#if scriptPath !== undefined && scriptPath !== ''}
{ const { language, content } = await getScriptByPath(scriptPath ?? '') code = content lang = language drawerViewer.openDrawer() }} > Show code
{/if}