problem: can't view rocket events

This commit is contained in:
gsovereignty
2024-07-03 14:42:27 +08:00
parent 58388c71a0
commit d8a062f0ec
3 changed files with 49 additions and 48 deletions

View File

@@ -0,0 +1,20 @@
<script lang="ts">
import Terminal from 'lucide-svelte/icons/terminal';
import * as Alert from '$lib/components/ui/alert/index.js';
export let text:string[];
</script>
<Alert.Root>
<Terminal class="h-4 w-4" />
<Alert.Title>Todo:</Alert.Title>
<Alert.Description>
{#if text.length > 1}
<ul class="list-disc">
{#each text as t}<li>{t}</li>{/each}
</ul>
{:else}
{text}
{/if}
</Alert.Description>
</Alert.Root>