From a79bad5cdb896fd965e544df3ba8d0a87b3db458 Mon Sep 17 00:00:00 2001 From: lain Date: Fri, 19 Jun 2020 12:46:48 +0200 Subject: [PATCH] StatusContent: Better separate subject from status content. --- .../status_content/status_content.js | 6 ----- .../status_content/status_content.vue | 22 +++++++++++-------- 2 files changed, 13 insertions(+), 15 deletions(-) diff --git a/src/components/status_content/status_content.js b/src/components/status_content/status_content.js index c0a71e8f..cfee77a3 100644 --- a/src/components/status_content/status_content.js +++ b/src/components/status_content/status_content.js @@ -142,12 +142,6 @@ const StatusContent = { return html } }, - contentHtml () { - if (!this.status.summary_html) { - return this.postBodyHtml - } - return this.status.summary_html + '
' + this.postBodyHtml - }, ...mapGetters(['mergedConfig']), ...mapState({ betterShadow: state => state.interface.browserSupport.cssFilter, diff --git a/src/components/status_content/status_content.vue b/src/components/status_content/status_content.vue index efc2485e..df980a71 100644 --- a/src/components/status_content/status_content.vue +++ b/src/components/status_content/status_content.vue @@ -31,7 +31,7 @@
{{ $t("general.show_more") }} +
-