Display AD message correctly for builders

This commit is contained in:
Adria Navarro 2024-03-12 08:38:47 +01:00
parent c34fa61479
commit 6f2f5fd5ce
2 changed files with 5 additions and 4 deletions

View File

@ -139,7 +139,7 @@
</div>
<Layout noPadding gap="S">
<GroupUsers {groupId} {readonly} />
<GroupUsers {groupId} {readonly} {isScimGroup} />
</Layout>
<Layout noPadding gap="S">

View File

@ -13,6 +13,7 @@
export let groupId
export let readonly
export let isScimGroup
let emailSearch
let fetchGroupUsers
@ -61,10 +62,10 @@
</script>
<div class="header">
{#if !readonly}
<EditUserPicker {groupId} onUsersUpdated={fetchGroupUsers.getInitialData} />
{:else}
{#if isScimGroup}
<ActiveDirectoryInfo text="Users synced from your AD" />
{:else if !readonly}
<EditUserPicker {groupId} onUsersUpdated={fetchGroupUsers.getInitialData} />
{/if}
<div class="controls-right">