From 50c698abf8b91352b67a2d00f57ffc20dc8e5fc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Keviin=20=C3=85berg=20Kultalahti?= Date: Wed, 5 May 2021 11:00:33 +0200 Subject: [PATCH] passes in dummy user.name data to Avatar component --- packages/builder/src/pages/portal/_layout.svelte | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/builder/src/pages/portal/_layout.svelte b/packages/builder/src/pages/portal/_layout.svelte index ea2fd18ed0..23bf9579ca 100644 --- a/packages/builder/src/pages/portal/_layout.svelte +++ b/packages/builder/src/pages/portal/_layout.svelte @@ -9,7 +9,7 @@ SideNavigationItem as Item, } from "@budibase/bbui" - let orgName, orgLogo, onBoardingProgress + let orgName, orgLogo, onBoardingProgress, user async function getInfo() { // fetch orgInfo @@ -18,6 +18,7 @@ // set onBoardingProgress onBoardingProgress = 20 + user = { name: "John Doe" } } onMount(getInfo) @@ -54,7 +55,7 @@
- +