mirror of
https://github.com/elk-zone/elk.git
synced 2024-12-14 23:21:46 +03:00
17 lines
394 B
Vue
17 lines
394 B
Vue
<script setup lang="ts">
|
|
import type { Status } from 'masto'
|
|
|
|
const { status } = defineProps<{
|
|
status: Status
|
|
}>()
|
|
const { translation } = useTranslation(status)
|
|
</script>
|
|
|
|
<template>
|
|
<div class="status-body" whitespace-pre-wrap break-words>
|
|
<ContentRich
|
|
:content="translation.visible ? translation.text : status.content"
|
|
:emojis="status.emojis"
|
|
/>
|
|
</div>
|
|
</template>
|