mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
fix: updated pills and removed unused component
This commit is contained in:
1 parent
6cb8441626
commit
ff451c6597
5 files changed
+6
-6
No files matched your search
@@ -33,8 +33,8 @@
|
||||
<TableCellText title="Status">
|
||||
<Pill
|
||||
success={attribute.status === 'available'}
|
||||
pending={attribute.status === 'processing'}
|
||||
failed={['deleting', 'stuck', 'failed'].includes(attribute.status)}>
|
||||
warning={attribute.status === 'processing'}
|
||||
danger={['deleting', 'stuck', 'failed'].includes(attribute.status)}>
|
||||
{attribute.status}
|
||||
</Pill>
|
||||
</TableCellText>
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
<Pill>{attribute} ({index.orders[i]})</Pill>
|
||||
{/each}
|
||||
</TableCellText>
|
||||
<TableCellText title="Action"><Pill failed>Delete</Pill></TableCellText>
|
||||
<TableCellText title="Action"><Pill danger>Delete</Pill></TableCellText>
|
||||
</TableRow>
|
||||
{/each}
|
||||
</TableBody>
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
{#each response.domains as domain}
|
||||
<TableRow>
|
||||
<TableCellText title="Scopes">
|
||||
<Pill failed={!domain.verification} success={domain.verification}>
|
||||
<Pill danger={!domain.verification} success={domain.verification}>
|
||||
{domain.verification ? 'Verified' : 'Unverified'}
|
||||
</Pill>
|
||||
</TableCellText>
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
<Pill>{role}</Pill>
|
||||
{/each}
|
||||
{#if !membership.confirm}
|
||||
<Pill failed>Pending Approval</Pill>
|
||||
<Pill danger>Pending Approval</Pill>
|
||||
{/if}
|
||||
</svelte:fragment>
|
||||
<svelte:fragment slot="info">
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
TableCell
|
||||
} from '$lib/elements/table';
|
||||
import { Button, InputSearch } from '$lib/elements/forms';
|
||||
import { Card, Empty, Pagination } from '$lib/components';
|
||||
import { Empty, Pagination } from '$lib/components';
|
||||
import Create from './_createTeam.svelte';
|
||||
import { goto } from '$app/navigation';
|
||||
import type { Models } from 'src/sdk';
|
||||
|
||||
Reference in new issue
Block a user