Linting
This commit is contained in:
parent
f0a8732631
commit
d19a700612
|
@ -54,7 +54,7 @@
|
|||
$: isLicenseLocked =
|
||||
(isCloud && !cloudPremium) || (!isCloud && !selfhostPremium)
|
||||
|
||||
const onConfigUpdate = config => {
|
||||
const onConfigUpdate = () => {
|
||||
if (!mounted || updated || !init) {
|
||||
return
|
||||
}
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue