196b543bee
CI / build-and-test (push) Successful in 1m47s
* Implement tenant and user creation in IdentityPage * Add API calls for managing tenants and users * Introduce tenant-scoped API requests * Update sidebar to include identity navigation * Create BooleanStatusBadge component for key status
15 lines
309 B
Svelte
15 lines
309 B
Svelte
<script lang="ts">
|
|
type Props = {
|
|
value: boolean;
|
|
falseLabel: 'Disabled' | 'Inactive';
|
|
};
|
|
|
|
let { value, falseLabel }: Props = $props();
|
|
</script>
|
|
|
|
{#if !value}
|
|
<span class="inline-flex rounded-full bg-slate-700 px-2 py-0.5 text-xs font-medium text-slate-200">
|
|
{falseLabel}
|
|
</span>
|
|
{/if}
|