{selected.name ? selected.name : 'Model / View'}
Tables
{#each models as model}
(selected = model)}> {model.name}
{/each}
Views
{#each views as view}
(selected = view)}> {view.name}
{/each}