From b749a6834979c84cdcdcef0d12690020547d2b0a Mon Sep 17 00:00:00 2001 From: Michel Heusschen <59014050+michelheusschen@users.noreply.github.com> Date: Mon, 12 Aug 2024 13:40:31 +0200 Subject: [PATCH] fix(web): hide import json button when using config file (#11714) --- web/src/routes/admin/system-settings/+page.svelte | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/web/src/routes/admin/system-settings/+page.svelte b/web/src/routes/admin/system-settings/+page.svelte index eff93361214d1..0555bab256f68 100644 --- a/web/src/routes/admin/system-settings/+page.svelte +++ b/web/src/routes/admin/system-settings/+page.svelte @@ -187,12 +187,14 @@ {$t('export_as_json')} - inputElement?.click()}> - - - {$t('import_from_json')} - - + {#if !$featureFlags.configFile} + inputElement?.click()}> + + + {$t('import_from_json')} + + + {/if}