Merge pull request #16017 from Budibase/fix-serving-apps-without-themes
Fix serving apps without themes due to defaulting a string to an object
This commit is contained in:
commit
881c7d22f4
|
@ -281,7 +281,7 @@ export const serveApp = async function (ctx: UserCtx<void, ServeAppResponse>) {
|
|||
const sideNav = appInfo.navigation.navigation === "Left"
|
||||
const hideFooter =
|
||||
ctx?.user?.license?.features?.includes(Feature.BRANDING) || false
|
||||
const themeVariables = getThemeVariables(appInfo?.theme || {})
|
||||
const themeVariables = getThemeVariables(appInfo?.theme)
|
||||
const hasPWA = Object.keys(appInfo.pwa || {}).length > 0
|
||||
const manifestUrl = hasPWA ? `/api/apps/${appId}/manifest.json` : ""
|
||||
const addAppScripts =
|
||||
|
|
Loading…
Reference in New Issue