1
0
Fork 0
mirror of synced 2024-08-15 10:01:34 +12:00
This commit is contained in:
Dean 2023-03-21 15:19:52 +00:00
parent f0a8732631
commit d19a700612
2 changed files with 1 additions and 12 deletions

View file

@ -54,7 +54,7 @@
$: isLicenseLocked =
(isCloud && !cloudPremium) || (!isCloud && !selfhostPremium)
const onConfigUpdate = config => {
const onConfigUpdate = () => {
if (!mounted || updated || !init) {
return
}

View file

@ -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) {