display subject in coversation's header
This commit is contained in:
parent
7bf5060743
commit
3c8d7ed11f
3 changed files with 12 additions and 0 deletions
|
|
@ -7,6 +7,7 @@ import PostStatusForm from 'src/components/post_status_form/post_status_form.vue
|
|||
import QuickFilterSettings from 'src/components/quick_filter_settings/quick_filter_settings.vue'
|
||||
import QuickViewSettings from 'src/components/quick_view_settings/quick_view_settings.vue'
|
||||
import ThreadTree from 'src/components/thread_tree/thread_tree.vue'
|
||||
import RichContent from 'src/components/rich_content/rich_content.jsx'
|
||||
|
||||
import { useInterfaceStore } from 'src/stores/interface'
|
||||
import { useMergedConfigStore } from 'src/stores/merged_config.js'
|
||||
|
|
@ -426,6 +427,7 @@ const conversation = {
|
|||
QuickViewSettings,
|
||||
ChatMessageList,
|
||||
PostStatusForm,
|
||||
RichContent,
|
||||
},
|
||||
watch: {
|
||||
statusId(newVal, oldVal) {
|
||||
|
|
|
|||
|
|
@ -10,7 +10,13 @@
|
|||
class="panel-heading conversation-heading -sticky"
|
||||
>
|
||||
<h1 class="title">
|
||||
<RichContent
|
||||
v-if="conversation[0].summary"
|
||||
:html="conversation[0].summary"
|
||||
/>
|
||||
<template v-else>
|
||||
{{ $t('timeline.conversation') }}
|
||||
</template>
|
||||
</h1>
|
||||
<button
|
||||
v-if="collapsable"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
import { mapState } from 'pinia'
|
||||
|
||||
import { useMergedConfigStore } from 'src/stores/merged_config.js'
|
||||
import RichContent from 'src/components/rich_content/rich_content.jsx'
|
||||
|
||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||
import {
|
||||
|
|
@ -15,6 +16,9 @@ library.add(faFile, faMusic, faImage, faLink, faPollH)
|
|||
|
||||
const StatusBody = {
|
||||
name: 'StatusBody',
|
||||
components: {
|
||||
RichContent,
|
||||
},
|
||||
props: {
|
||||
status: {
|
||||
// Main thing
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue