Show SCIM banner in group list
This commit is contained in:
parent
2e40cc6926
commit
76f6c86c0a
|
@ -21,6 +21,7 @@
|
||||||
import UsersTableRenderer from "./_components/UsersTableRenderer.svelte"
|
import UsersTableRenderer from "./_components/UsersTableRenderer.svelte"
|
||||||
import GroupNameTableRenderer from "./_components/GroupNameTableRenderer.svelte"
|
import GroupNameTableRenderer from "./_components/GroupNameTableRenderer.svelte"
|
||||||
import { goto } from "@roxi/routify"
|
import { goto } from "@roxi/routify"
|
||||||
|
import ScimBanner from "../_components/SCIMBanner.svelte"
|
||||||
|
|
||||||
const DefaultGroup = {
|
const DefaultGroup = {
|
||||||
name: "",
|
name: "",
|
||||||
|
@ -106,10 +107,14 @@
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<ButtonGroup>
|
<ButtonGroup>
|
||||||
{#if $licensing.groupsEnabled}
|
{#if $licensing.groupsEnabled}
|
||||||
<!--Show the group create button-->
|
{#if !$licensing.scimEnabled}
|
||||||
<Button disabled={readonly} cta on:click={showCreateGroupModal}>
|
<!--Show the group create button-->
|
||||||
Add group
|
<Button disabled={readonly} cta on:click={showCreateGroupModal}>
|
||||||
</Button>
|
Add group
|
||||||
|
</Button>
|
||||||
|
{:else}
|
||||||
|
<ScimBanner />
|
||||||
|
{/if}
|
||||||
{:else}
|
{:else}
|
||||||
<Button
|
<Button
|
||||||
primary
|
primary
|
||||||
|
|
Loading…
Reference in New Issue