{#if !loaded}
{:else} {#if loadError}
{loadError}
{/if} {#if showForm}
{#if error}
{error}
{/if}
{t('providers.type')}
Immich
{t('providers.name')}
form.icon = v} />
{t('providers.url')}
{editing ? t('providers.apiKeyKeep') : t('providers.apiKey')}
{t('providers.externalDomain')}
({t('providers.optional')})
{submitting ? t('providers.connecting') : (editing ? t('common.save') : t('providers.addProvider'))}
{/if} {#if providers.length === 0 && !showForm}
{:else}
{#each providers as provider}
{provider.name}
{provider.type}
{#if provider.config?.url}
{provider.config.url}
{/if}
edit(provider)} />
startDelete(provider)} variant="danger" />
{/each}
{/if} {/if}
confirmDelete = null} />