Fix message status pill colors

This commit is contained in:
Steven Nguyen authored and Torsten Dittmann committed 2024-02-13 11:56:24 +00:00
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>