Display AD message correctly for builders
This commit is contained in:
parent
c34fa61479
commit
6f2f5fd5ce
|
@ -139,7 +139,7 @@
|
|||
</div>
|
||||
|
||||
<Layout noPadding gap="S">
|
||||
<GroupUsers {groupId} {readonly} />
|
||||
<GroupUsers {groupId} {readonly} {isScimGroup} />
|
||||
</Layout>
|
||||
|
||||
<Layout noPadding gap="S">
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue