Fix logo override not working

This commit is contained in:
Andrew Kingston 2023-01-13 09:26:35 +00:00
parent 31431ac98c
commit 66c6b6dec3
1 changed files with 6 additions and 1 deletions

View File

@ -1,9 +1,14 @@
<script>
import Logo from "assets/bb-emblem.svg"
import { goto } from "@roxi/routify"
import { organisation } from "stores/portal"
</script>
<img src={Logo} alt="Budibase Logo" on:click={() => $goto("./apps")} />
<img
src={$organisation.logoUrl || Logo}
alt="Budibase Logo"
on:click={() => $goto("./apps")}
/>
<style>
img {