diff --git a/packages/builder/src/pages/builder/portal/users/users/_components/InviteResponseRenderer.svelte b/packages/builder/src/pages/builder/portal/users/users/_components/InviteResponseRenderer.svelte new file mode 100644 index 0000000000..adccbb007b --- /dev/null +++ b/packages/builder/src/pages/builder/portal/users/users/_components/InviteResponseRenderer.svelte @@ -0,0 +1,14 @@ + + +
+ {#if value === "Unavailable"} + Email already in use. Please use a different email. + {:else} + {value} + {/if} +
+ + diff --git a/packages/builder/src/pages/builder/portal/users/users/_components/InvitedModal.svelte b/packages/builder/src/pages/builder/portal/users/users/_components/InvitedModal.svelte index c9eadd0a5a..480de0ff5b 100644 --- a/packages/builder/src/pages/builder/portal/users/users/_components/InvitedModal.svelte +++ b/packages/builder/src/pages/builder/portal/users/users/_components/InvitedModal.svelte @@ -1,6 +1,7 @@ - + {#if hasSuccess} Your users should now receive an email invite to get access to their @@ -67,6 +68,9 @@ allowEditColumns={false} allowEditRows={false} allowSelectRows={false} + customRenderers={[ + { column: "reason", component: InviteResponseRenderer }, + ]} /> {/if}