{#each selectedModels as selectedModel, selectedModelIdx}
({ value: model.id, label: model.name, model: model }))} bind:value={selectedModel} />
{#if selectedModelIdx === 0}
{ selectedModels = [...selectedModels, '']; }} >
{:else}
{ selectedModels.splice(selectedModelIdx, 1); selectedModels = selectedModels; }} >
{/if}
{/each}
{#if showSetDefault && !$mobile}
{$i18n.t('Set as default')}
{/if}