mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
feat: fix pill icon
This commit is contained in:
1 parent
9a4bfe892a
commit
58cff550fd
1 file changed
+5
-2
+5
-2
@@ -137,11 +137,14 @@
|
||||
<Pill
|
||||
warning={status === 'scheduled' ||
|
||||
status === 'processing' ||
|
||||
status === 'pending'}
|
||||
danger={status === 'failed' || status === 'cancelled'}
|
||||
status === 'pending' ||
|
||||
status === 'cancelled'}
|
||||
danger={status === 'failed'}
|
||||
info={status === 'completed'}>
|
||||
{#if status === 'scheduled'}
|
||||
<span class="icon-clock" aria-hidden="true" />
|
||||
{:else if status === 'cancelled'}
|
||||
<span class="icon-x-circle" aria-hidden="true" />
|
||||
{/if}
|
||||
{status}
|
||||
</Pill>
|
||||
|
||||
Reference in new issue
Block a user