diff --git a/packages/builder/src/pages/builder/portal/settings/branding.svelte b/packages/builder/src/pages/builder/portal/settings/branding.svelte index 1406e29d4c..fd003aecc9 100644 --- a/packages/builder/src/pages/builder/portal/settings/branding.svelte +++ b/packages/builder/src/pages/builder/portal/settings/branding.svelte @@ -54,7 +54,7 @@ $: isLicenseLocked = (isCloud && !cloudPremium) || (!isCloud && !selfhostPremium) - const onConfigUpdate = config => { + const onConfigUpdate = () => { if (!mounted || updated || !init) { return } diff --git a/packages/builder/src/pages/builder/portal/settings/organisation.svelte b/packages/builder/src/pages/builder/portal/settings/organisation.svelte index 48919b5f0b..d2af329cb9 100644 --- a/packages/builder/src/pages/builder/portal/settings/organisation.svelte +++ b/packages/builder/src/pages/builder/portal/settings/organisation.svelte @@ -34,12 +34,6 @@ loading = true try { - // Upload logo if required - if ($values.logo && !$values.logo.url) { - await uploadLogo($values.logo) - await organisation.init() - } - const config = { isSSOEnforced: $values.isSSOEnforced, company: $values.company ?? "", @@ -47,11 +41,6 @@ analyticsEnabled: $values.analyticsEnabled, } - // Remove logo if required - if (!$values.logo) { - config.logoUrl = "" - } - // Update settings await organisation.save(config) } catch (error) {