diff --git a/packages/builder/src/pages/builder/portal/users/groups/[groupId].svelte b/packages/builder/src/pages/builder/portal/users/groups/[groupId].svelte index 589df5c599..08c32bfeb9 100644 --- a/packages/builder/src/pages/builder/portal/users/groups/[groupId].svelte +++ b/packages/builder/src/pages/builder/portal/users/groups/[groupId].svelte @@ -1,62 +1,28 @@ + +
+ +
+ + user._id)} + list={$users.data} + on:select={async e => { + await groups.actions.addUser(groupId, e.detail) + onUsersUpdated() + }} + on:deselect={async e => { + await groups.actions.removeUser(groupId, e.detail) + onUsersUpdated() + }} + /> + diff --git a/packages/builder/src/pages/builder/portal/users/groups/_components/GroupUsers.svelte b/packages/builder/src/pages/builder/portal/users/groups/_components/GroupUsers.svelte new file mode 100644 index 0000000000..9c18008e44 --- /dev/null +++ b/packages/builder/src/pages/builder/portal/users/groups/_components/GroupUsers.svelte @@ -0,0 +1,112 @@ + + +
+ Users + {#if !scimEnabled} + + {:else} + + {/if} +
+ + $goto(`../users/${e.detail._id}`)} +> +
+ This user group doesn't have any users +
+
+ + + +