Display AD message correctly for builders
This commit is contained in:
parent
c34fa61479
commit
6f2f5fd5ce
|
@ -139,7 +139,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<Layout noPadding gap="S">
|
<Layout noPadding gap="S">
|
||||||
<GroupUsers {groupId} {readonly} />
|
<GroupUsers {groupId} {readonly} {isScimGroup} />
|
||||||
</Layout>
|
</Layout>
|
||||||
|
|
||||||
<Layout noPadding gap="S">
|
<Layout noPadding gap="S">
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
|
|
||||||
export let groupId
|
export let groupId
|
||||||
export let readonly
|
export let readonly
|
||||||
|
export let isScimGroup
|
||||||
|
|
||||||
let emailSearch
|
let emailSearch
|
||||||
let fetchGroupUsers
|
let fetchGroupUsers
|
||||||
|
@ -61,10 +62,10 @@
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="header">
|
<div class="header">
|
||||||
{#if !readonly}
|
{#if isScimGroup}
|
||||||
<EditUserPicker {groupId} onUsersUpdated={fetchGroupUsers.getInitialData} />
|
|
||||||
{:else}
|
|
||||||
<ActiveDirectoryInfo text="Users synced from your AD" />
|
<ActiveDirectoryInfo text="Users synced from your AD" />
|
||||||
|
{:else if !readonly}
|
||||||
|
<EditUserPicker {groupId} onUsersUpdated={fetchGroupUsers.getInitialData} />
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
<div class="controls-right">
|
<div class="controls-right">
|
||||||
|
|
Loading…
Reference in New Issue