1
0
elk/components/conversation/ConversationCard.vue

18 lines
507 B
Vue
Raw Normal View History

2022-11-18 18:37:22 +09:00
<script setup lang="ts">
import type { Conversation } from 'masto'
const props = defineProps<{
conversation: Conversation
}>()
</script>
<template>
2022-11-28 08:29:21 +09:00
<article flex flex-col gap-2>
<div flex gap-2 flex-wrap text-sm px-2>
2022-12-01 22:59:28 +09:00
{{ $t('conversation.with') }}
2022-11-18 18:37:22 +09:00
<AccountInlineInfo v-for="account in conversation.accounts" :key="account.id" :account="account" />
</div>
<StatusCard v-if="conversation.lastStatus" :status="conversation.lastStatus" :actions="false" />
2022-11-28 08:29:21 +09:00
</article>
2022-11-18 18:37:22 +09:00
</template>