From e0031a1745fcc7f190164eccbcadce6e6bba6c95 Mon Sep 17 00:00:00 2001 From: Arman Date: Fri, 9 Sep 2022 16:06:41 +0200 Subject: [PATCH] fix: invite invalid hide form --- src/routes/invite.svelte | 46 +++++++++++++++++++++++----------------- 1 file changed, 27 insertions(+), 19 deletions(-) diff --git a/src/routes/invite.svelte b/src/routes/invite.svelte index 3c72d44a3..374ebc914 100644 --- a/src/routes/invite.svelte +++ b/src/routes/invite.svelte @@ -44,25 +44,33 @@ Invite -

You have been invited to join a team project on Appwrite

-
- - - By accepting the invitation, you agree to the Terms and Conditions - and - - Privacy Policy. + {#if !userId || !secret || !membershipId || !teamId} +

Invalid invite link.

+ {:else} +

You have been invited to join a team project on Appwrite

+ + + + By accepting the invitation, you agree to the Terms and Conditions + and + + Privacy Policy. -
- - -
-
- +
+ + +
+
+ + {/if}