Merge branch 'quotes-hide-card' into shigusegubu-vue3
This commit is contained in:
commit
9bb6ab6ca5
2 changed files with 5 additions and 1 deletions
|
@ -73,6 +73,10 @@ const StatusContent = {
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
...controlledOrUncontrolledGetters(['showingTall', 'expandingSubject', 'showingLongSubject']),
|
...controlledOrUncontrolledGetters(['showingTall', 'expandingSubject', 'showingLongSubject']),
|
||||||
|
statusCard () {
|
||||||
|
if (!this.status.card) return null
|
||||||
|
return this.status.card.url === this.status.quote_url ? null : status.card
|
||||||
|
},
|
||||||
hideAttachments () {
|
hideAttachments () {
|
||||||
return (this.mergedConfig.hideAttachments && !this.inConversation) ||
|
return (this.mergedConfig.hideAttachments && !this.inConversation) ||
|
||||||
(this.mergedConfig.hideAttachmentsInConv && this.inConversation)
|
(this.mergedConfig.hideAttachmentsInConv && this.inConversation)
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
v-if="status.card && !noHeading && !compact"
|
v-if="statusCard && !noHeading && !compact"
|
||||||
class="link-preview media-body"
|
class="link-preview media-body"
|
||||||
>
|
>
|
||||||
<link-preview
|
<link-preview
|
||||||
|
|
Loading…
Add table
Reference in a new issue