mirror of
https://github.com/immich-app/immich.git
synced 2025-06-01 04:36:19 -04:00
fix(web): hide import json button when using config file (#11714)
This commit is contained in:
parent
30aa2c9b82
commit
b749a68349
@ -187,12 +187,14 @@
|
|||||||
{$t('export_as_json')}
|
{$t('export_as_json')}
|
||||||
</div>
|
</div>
|
||||||
</LinkButton>
|
</LinkButton>
|
||||||
<LinkButton on:click={() => inputElement?.click()}>
|
{#if !$featureFlags.configFile}
|
||||||
<div class="flex place-items-center gap-2 text-sm">
|
<LinkButton on:click={() => inputElement?.click()}>
|
||||||
<Icon path={mdiUpload} size="18" />
|
<div class="flex place-items-center gap-2 text-sm">
|
||||||
{$t('import_from_json')}
|
<Icon path={mdiUpload} size="18" />
|
||||||
</div>
|
{$t('import_from_json')}
|
||||||
</LinkButton>
|
</div>
|
||||||
|
</LinkButton>
|
||||||
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<AdminSettings bind:config let:handleReset bind:handleSave let:savedConfig let:defaultConfig>
|
<AdminSettings bind:config let:handleReset bind:handleSave let:savedConfig let:defaultConfig>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user