{value?.label ?? 'Choose option'}
{#if value?.type === 'query'}
{ notifications.success('Query parameters saved.') handleSelected(value) drawer.hide() }}> Save
{#if value.parameters.length > 0}
query._id === value._id).parameters} bindings={queryBindableProperties} /> {/if}
ds._id === value.datasourceId)} editable={false} />
{/if}
Tables
{#each tables as table}
handleSelected(table)}> {table.label}
{/each}
Views
{#each views as view}
handleSelected(view)}> {view.label}
{/each}
Relationships
{#each links as link}
handleSelected(link)}> {link.label}
{/each}
Queries
{#each queries as query}
handleSelected(query)}> {query.label}
{/each}
{#if otherSources?.length}
Other
{#each otherSources as source}
handleSelected(source)}> {source.label}
{/each}
{/if}