1
0
Fork 1
mirror of https://github.com/elk-zone/elk.git synced 2024-11-09 10:29:57 +00:00
elk/components/conversation/ConversationCard.vue
2022-11-27 23:29:21 +00:00

18 lines
482 B
Vue

<script setup lang="ts">
import type { Conversation } from 'masto'
const props = defineProps<{
conversation: Conversation
}>()
</script>
<template>
<article flex flex-col gap-2>
<div flex gap-2 flex-wrap text-sm px-2>
with
<AccountInlineInfo v-for="account in conversation.accounts" :key="account.id" :account="account" />
</div>
<StatusCard v-if="conversation.lastStatus" :status="conversation.lastStatus" :actions="false" />
</article>
</template>