From 89111a5b0dcaefeaf1c2851cc53e87782e1f5423 Mon Sep 17 00:00:00 2001 From: Conor Webb Date: Fri, 26 Jan 2024 11:02:53 +0000 Subject: [PATCH] Allowed typed user query to be passed into invite user form. --- .../app/[application]/_components/BuilderSidePanel.svelte | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/builder/src/pages/builder/app/[application]/_components/BuilderSidePanel.svelte b/packages/builder/src/pages/builder/app/[application]/_components/BuilderSidePanel.svelte index b937d69fd7..33116094eb 100644 --- a/packages/builder/src/pages/builder/app/[application]/_components/BuilderSidePanel.svelte +++ b/packages/builder/src/pages/builder/app/[application]/_components/BuilderSidePanel.svelte @@ -392,6 +392,10 @@ } const openInviteFlow = () => { + // prevent email from getting overwritten if changes are made + if (!email) { + email = query + } $licensing.userLimitReached ? userLimitReachedModal.show() : (invitingFlow = true)