Remove SCIMBanner

This commit is contained in:
Adria Navarro 2024-02-26 10:53:20 +01:00
parent b587ec83fe
commit b2112b1945
2 changed files with 3 additions and 17 deletions

View File

@ -1,15 +0,0 @@
<script>
import { Icon } from "@budibase/bbui"
</script>
<div class="scim-banner">
<Icon name="Info" size="S" />
Users are synced from your AD
</div>
<style>
.scim-banner {
display: flex;
gap: var(--spacing-s);
}
</style>

View File

@ -7,8 +7,9 @@
import { API } from "api"
import { groups } from "stores/portal"
import { setContext } from "svelte"
import ScimBanner from "../../_components/SCIMBanner.svelte"
import RemoveUserTableRenderer from "../_components/RemoveUserTableRenderer.svelte"
import ScimInfo from "../../_components/SCIMInfo.svelte"
export let groupId
export let readonly
@ -63,7 +64,7 @@
{#if !readonly}
<EditUserPicker {groupId} onUsersUpdated={fetchGroupUsers.getInitialData} />
{:else}
<ScimBanner />
<ScimInfo text="User synced externally" />
{/if}
<div class="controls-right">