Feedback updates
This commit is contained in:
parent
118f250edb
commit
c914ded42c
|
@ -3,12 +3,10 @@
|
||||||
import { onMount } from "svelte"
|
import { onMount } from "svelte"
|
||||||
|
|
||||||
let loaded = false
|
let loaded = false
|
||||||
let platformTitle = null
|
|
||||||
|
|
||||||
$: platformTitleText = $organisation.platformTitle
|
$: platformTitleText = $organisation.platformTitle
|
||||||
$: platformTitleText,
|
$: platformTitle =
|
||||||
(platformTitle =
|
!$auth.user && platformTitleText ? platformTitleText : "Budibase"
|
||||||
!$auth.user && platformTitleText ? platformTitleText : "Budibase")
|
|
||||||
|
|
||||||
$: faviconUrl = $organisation.faviconUrl || "https://i.imgur.com/Xhdt1YP.png"
|
$: faviconUrl = $organisation.faviconUrl || "https://i.imgur.com/Xhdt1YP.png"
|
||||||
|
|
||||||
|
|
|
@ -5,5 +5,5 @@ import { orgStore } from "./org"
|
||||||
export async function initialise() {
|
export async function initialise() {
|
||||||
await routeStore.actions.fetchRoutes()
|
await routeStore.actions.fetchRoutes()
|
||||||
await appStore.actions.fetchAppDefinition()
|
await appStore.actions.fetchAppDefinition()
|
||||||
await orgStore.init()
|
await orgStore.actions.init()
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,7 +20,9 @@ const createOrgStore = () => {
|
||||||
|
|
||||||
return {
|
return {
|
||||||
subscribe,
|
subscribe,
|
||||||
init,
|
actions: {
|
||||||
|
init,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -150,9 +150,9 @@ const createScreenStore = () => {
|
||||||
navigationSettings.title = $appStore.application?.name
|
navigationSettings.title = $appStore.application?.name
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Default to the org logo
|
||||||
if (!navigationSettings.logoUrl) {
|
if (!navigationSettings.logoUrl) {
|
||||||
navigationSettings.logoUrl =
|
navigationSettings.logoUrl = $orgStore?.logoUrl
|
||||||
$orgStore?.logoUrl || navigationSettings.logoUrl
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
activeLayout = {
|
activeLayout = {
|
||||||
|
|
Loading…
Reference in New Issue