1
0
elk/components/conversation/ConversationCard.vue
2022-12-06 17:37:58 +01:00

18 lines
497 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 text-sm px-2>
{{ $t('conversation.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>