19 lines
548 B
Vue
19 lines
548 B
Vue
<script setup lang="ts">
|
|
import { Badge } from "@/components/ui/badge";
|
|
import { meta, streamKind, streamState } from "./state";
|
|
|
|
/**
|
|
* What the list is showing, and the state of the stream that is supposed to be
|
|
* adding to it: the lines mean nothing without it.
|
|
*/
|
|
</script>
|
|
|
|
<template>
|
|
<div class="flex flex-wrap items-center gap-3">
|
|
<span class="min-w-0 break-words font-mono text-xs text-fg-subtle">{{
|
|
meta
|
|
}}</span>
|
|
<Badge v-if="streamKind !== 'ok'" :variant="streamKind">{{ streamState }}</Badge>
|
|
</div>
|
|
</template>
|