feat: fix pill icon

This commit is contained in:
loks0n committed 2024-06-27 12:35:37 +01:00
1 parent 9a4bfe892a
commit 58cff550fd
1 file changed
+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>