aboutsummaryrefslogtreecommitdiff
path: root/src/components/status_content
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2022-01-24 19:53:17 +0200
committerHenry Jameson <me@hjkos.com>2022-01-24 19:53:17 +0200
commit56de3d2f528a818835c04baa1c1686f91fc42161 (patch)
treeed4561b8c42498432c6a8208265bafff8aa28655 /src/components/status_content
parentc551e3e6974164f221a81ebc2d3bfbcac7978058 (diff)
fix too-many-attachments in notifications column
Diffstat (limited to 'src/components/status_content')
-rw-r--r--src/components/status_content/status_content.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/status_content/status_content.js b/src/components/status_content/status_content.js
index 184f2783..dec8914a 100644
--- a/src/components/status_content/status_content.js
+++ b/src/components/status_content/status_content.js
@@ -48,12 +48,12 @@ const StatusContent = {
return true
},
attachmentSize () {
- if ((this.mergedConfig.hideAttachments && !this.inConversation) ||
+ if (this.compact) {
+ return 'small'
+ } else if ((this.mergedConfig.hideAttachments && !this.inConversation) ||
(this.mergedConfig.hideAttachmentsInConv && this.inConversation) ||
(this.status.attachments.length > this.maxThumbnails)) {
return 'hide'
- } else if (this.compact) {
- return 'small'
}
return 'normal'
},