1
0
Fork 0
mirror of synced 2024-08-02 11:51:34 +12:00

Show SCIM banner in group list

This commit is contained in:
adrinr 2023-03-21 14:21:02 +00:00
parent 2e40cc6926
commit 76f6c86c0a

View file

@ -21,6 +21,7 @@
import UsersTableRenderer from "./_components/UsersTableRenderer.svelte"
import GroupNameTableRenderer from "./_components/GroupNameTableRenderer.svelte"
import { goto } from "@roxi/routify"
import ScimBanner from "../_components/SCIMBanner.svelte"
const DefaultGroup = {
name: "",
@ -106,10 +107,14 @@
<div class="controls">
<ButtonGroup>
{#if $licensing.groupsEnabled}
<!--Show the group create button-->
<Button disabled={readonly} cta on:click={showCreateGroupModal}>
Add group
</Button>
{#if !$licensing.scimEnabled}
<!--Show the group create button-->
<Button disabled={readonly} cta on:click={showCreateGroupModal}>
Add group
</Button>
{:else}
<ScimBanner />
{/if}
{:else}
<Button
primary