mirror of
				https://github.com/immich-app/immich.git
				synced 2025-11-03 19:17:11 -05: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')}
 | 
			
		||||
        </div>
 | 
			
		||||
      </LinkButton>
 | 
			
		||||
      {#if !$featureFlags.configFile}
 | 
			
		||||
        <LinkButton on:click={() => inputElement?.click()}>
 | 
			
		||||
          <div class="flex place-items-center gap-2 text-sm">
 | 
			
		||||
            <Icon path={mdiUpload} size="18" />
 | 
			
		||||
            {$t('import_from_json')}
 | 
			
		||||
          </div>
 | 
			
		||||
        </LinkButton>
 | 
			
		||||
      {/if}
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
    <AdminSettings bind:config let:handleReset bind:handleSave let:savedConfig let:defaultConfig>
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user