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 QuickFilterSettings from 'src/components/quick_filter_settings/quick_filter_settings.vue'
|
||||||
import QuickViewSettings from 'src/components/quick_view_settings/quick_view_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 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 { useInterfaceStore } from 'src/stores/interface'
|
||||||
import { useMergedConfigStore } from 'src/stores/merged_config.js'
|
import { useMergedConfigStore } from 'src/stores/merged_config.js'
|
||||||
|
|
@ -426,6 +427,7 @@ const conversation = {
|
||||||
QuickViewSettings,
|
QuickViewSettings,
|
||||||
ChatMessageList,
|
ChatMessageList,
|
||||||
PostStatusForm,
|
PostStatusForm,
|
||||||
|
RichContent,
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
statusId(newVal, oldVal) {
|
statusId(newVal, oldVal) {
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,13 @@
|
||||||
class="panel-heading conversation-heading -sticky"
|
class="panel-heading conversation-heading -sticky"
|
||||||
>
|
>
|
||||||
<h1 class="title">
|
<h1 class="title">
|
||||||
|
<RichContent
|
||||||
|
v-if="conversation[0].summary"
|
||||||
|
:html="conversation[0].summary"
|
||||||
|
/>
|
||||||
|
<template v-else>
|
||||||
{{ $t('timeline.conversation') }}
|
{{ $t('timeline.conversation') }}
|
||||||
|
</template>
|
||||||
</h1>
|
</h1>
|
||||||
<button
|
<button
|
||||||
v-if="collapsable"
|
v-if="collapsable"
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
import { mapState } from 'pinia'
|
import { mapState } from 'pinia'
|
||||||
|
|
||||||
import { useMergedConfigStore } from 'src/stores/merged_config.js'
|
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 { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import {
|
import {
|
||||||
|
|
@ -15,6 +16,9 @@ library.add(faFile, faMusic, faImage, faLink, faPollH)
|
||||||
|
|
||||||
const StatusBody = {
|
const StatusBody = {
|
||||||
name: 'StatusBody',
|
name: 'StatusBody',
|
||||||
|
components: {
|
||||||
|
RichContent,
|
||||||
|
},
|
||||||
props: {
|
props: {
|
||||||
status: {
|
status: {
|
||||||
// Main thing
|
// Main thing
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue