Merge pull request #11002 from Budibase/feature/existing-user-invite-messaging-updates
Updated messaging when attempting to invite existing users.
This commit is contained in:
commit
6cbe89bce8
|
@ -0,0 +1,14 @@
|
||||||
|
<script>
|
||||||
|
export let value
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<div style="display: flex; ">
|
||||||
|
{#if value === "Unavailable"}
|
||||||
|
Email already in use. Please use a different email.
|
||||||
|
{:else}
|
||||||
|
{value}
|
||||||
|
{/if}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
</style>
|
|
@ -1,6 +1,7 @@
|
||||||
<script>
|
<script>
|
||||||
import { Body, ModalContent, Table } from "@budibase/bbui"
|
import { Body, ModalContent, Table } from "@budibase/bbui"
|
||||||
import { onMount } from "svelte"
|
import { onMount } from "svelte"
|
||||||
|
import InviteResponseRenderer from "./InviteResponseRenderer.svelte"
|
||||||
|
|
||||||
export let inviteUsersResponse
|
export let inviteUsersResponse
|
||||||
|
|
||||||
|
@ -50,7 +51,7 @@
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<ModalContent size="M" showCancelButton={false} {title} confirmText="Done">
|
<ModalContent size="L" showCancelButton={false} {title} confirmText="Done">
|
||||||
{#if hasSuccess}
|
{#if hasSuccess}
|
||||||
<Body size="XS">
|
<Body size="XS">
|
||||||
Your users should now receive an email invite to get access to their
|
Your users should now receive an email invite to get access to their
|
||||||
|
@ -67,6 +68,9 @@
|
||||||
allowEditColumns={false}
|
allowEditColumns={false}
|
||||||
allowEditRows={false}
|
allowEditRows={false}
|
||||||
allowSelectRows={false}
|
allowSelectRows={false}
|
||||||
|
customRenderers={[
|
||||||
|
{ column: "reason", component: InviteResponseRenderer },
|
||||||
|
]}
|
||||||
/>
|
/>
|
||||||
{/if}
|
{/if}
|
||||||
</ModalContent>
|
</ModalContent>
|
||||||
|
|
Loading…
Reference in New Issue