feat: basic conversations (#15)

This commit is contained in:
patak 2022-11-18 10:37:22 +01:00 committed by GitHub
parent 4fc6e405e0
commit 1aa81a3a0a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 82 additions and 13 deletions

View file

@ -0,0 +1,17 @@
<script setup lang="ts">
import type { Conversation } from 'masto'
const props = defineProps<{
conversation: Conversation
}>()
</script>
<template>
<div flex flex-col gap-2>
<div flex gap-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" />
</div>
</template>