mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
Fix message status pill colors
This commit is contained in:
1 parent
09c1627eb6
commit
254490a28b
1 file changed
+3
-7
@@ -5,15 +5,11 @@
|
||||
</script>
|
||||
|
||||
<Pill
|
||||
success={status === 'sent'}
|
||||
info={status === 'scheduled'}
|
||||
button={status == 'failed'}
|
||||
warning={status === 'processing'}
|
||||
success={status === 'sent'}
|
||||
danger={status == 'failed'}
|
||||
on:click>
|
||||
{#if status === 'sent'}
|
||||
<span class="icon-check-circle" aria-hidden="true"></span>
|
||||
{:else if status === 'scheduled'}
|
||||
<span class="icon-clock" aria-hidden="true"></span>
|
||||
{/if}
|
||||
<span class="text u-trim">
|
||||
{status}
|
||||
</span>
|
||||
|
||||
Reference in new issue
Block a user