1
0
Fork 0
mirror of synced 2024-07-07 23:35:49 +12:00

cleanup top layout file

This commit is contained in:
Keviin Åberg Kultalahti 2021-05-12 09:13:25 +02:00
parent 548c56cb00
commit 75c71f6891

View file

@ -1,6 +1,5 @@
<script>
import { isActive, goto } from "@roxi/routify"
import { onMount } from "svelte"
import {
Icon,
Avatar,
@ -13,26 +12,13 @@
Modal,
} from "@budibase/bbui"
import ConfigChecklist from "components/common/ConfigChecklist.svelte"
import { organisation, apps } from "stores/portal"
import { organisation } from "stores/portal"
import { auth } from "stores/backend"
import BuilderSettingsModal from "components/start/BuilderSettingsModal.svelte"
let orgName
let orgLogo
let user
let oldSettingsModal
async function getInfo() {
// fetch orgInfo
orgName = "ACME Inc."
orgLogo = "https://via.placeholder.com/150"
user = { name: "John Doe" }
}
onMount(() => {
organisation.init()
getInfo()
})
organisation.init()
let menu = [
{ title: "Apps", href: "/builder/portal/apps" },