cleanup top layout file
This commit is contained in:
parent
548c56cb00
commit
75c71f6891
|
@ -1,6 +1,5 @@
|
||||||
<script>
|
<script>
|
||||||
import { isActive, goto } from "@roxi/routify"
|
import { isActive, goto } from "@roxi/routify"
|
||||||
import { onMount } from "svelte"
|
|
||||||
import {
|
import {
|
||||||
Icon,
|
Icon,
|
||||||
Avatar,
|
Avatar,
|
||||||
|
@ -13,26 +12,13 @@
|
||||||
Modal,
|
Modal,
|
||||||
} from "@budibase/bbui"
|
} from "@budibase/bbui"
|
||||||
import ConfigChecklist from "components/common/ConfigChecklist.svelte"
|
import ConfigChecklist from "components/common/ConfigChecklist.svelte"
|
||||||
import { organisation, apps } from "stores/portal"
|
import { organisation } from "stores/portal"
|
||||||
import { auth } from "stores/backend"
|
import { auth } from "stores/backend"
|
||||||
import BuilderSettingsModal from "components/start/BuilderSettingsModal.svelte"
|
import BuilderSettingsModal from "components/start/BuilderSettingsModal.svelte"
|
||||||
|
|
||||||
let orgName
|
|
||||||
let orgLogo
|
|
||||||
let user
|
|
||||||
let oldSettingsModal
|
let oldSettingsModal
|
||||||
|
|
||||||
async function getInfo() {
|
organisation.init()
|
||||||
// fetch orgInfo
|
|
||||||
orgName = "ACME Inc."
|
|
||||||
orgLogo = "https://via.placeholder.com/150"
|
|
||||||
user = { name: "John Doe" }
|
|
||||||
}
|
|
||||||
|
|
||||||
onMount(() => {
|
|
||||||
organisation.init()
|
|
||||||
getInfo()
|
|
||||||
})
|
|
||||||
|
|
||||||
let menu = [
|
let menu = [
|
||||||
{ title: "Apps", href: "/builder/portal/apps" },
|
{ title: "Apps", href: "/builder/portal/apps" },
|
||||||
|
|
Loading…
Reference in New Issue