PR feedback
This commit is contained in:
parent
f20653d4ca
commit
0a7669ad2d
|
@ -337,6 +337,16 @@ export async function publicSettings(
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// enrich the favicon url - empty url means deleted
|
||||||
|
const faviconUrl =
|
||||||
|
branding.faviconUrl && branding.faviconUrl !== ""
|
||||||
|
? objectStore.getGlobalFileUrl(
|
||||||
|
"settings",
|
||||||
|
"faviconUrl",
|
||||||
|
branding.faviconUrlEtag
|
||||||
|
)
|
||||||
|
: undefined
|
||||||
|
|
||||||
// google
|
// google
|
||||||
const googleConfig = await configs.getGoogleConfig()
|
const googleConfig = await configs.getGoogleConfig()
|
||||||
const googleDatasourceConfigured =
|
const googleDatasourceConfigured =
|
||||||
|
@ -360,15 +370,7 @@ export async function publicSettings(
|
||||||
config: {
|
config: {
|
||||||
...config,
|
...config,
|
||||||
...branding,
|
...branding,
|
||||||
...(branding.faviconUrl && branding.faviconUrl !== ""
|
...{ faviconUrl },
|
||||||
? {
|
|
||||||
faviconUrl: objectStore.getGlobalFileUrl(
|
|
||||||
"settings",
|
|
||||||
"faviconUrl",
|
|
||||||
branding.faviconUrlEtag
|
|
||||||
),
|
|
||||||
}
|
|
||||||
: { faviconUrl: undefined }),
|
|
||||||
google,
|
google,
|
||||||
googleDatasourceConfigured,
|
googleDatasourceConfigured,
|
||||||
oidc,
|
oidc,
|
||||||
|
|
Loading…
Reference in New Issue