diff options
| author | Henry Jameson <me@hjkos.com> | 2022-01-24 19:53:17 +0200 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2022-01-24 19:53:17 +0200 |
| commit | 56de3d2f528a818835c04baa1c1686f91fc42161 (patch) | |
| tree | ed4561b8c42498432c6a8208265bafff8aa28655 /src/components/status_content | |
| parent | c551e3e6974164f221a81ebc2d3bfbcac7978058 (diff) | |
fix too-many-attachments in notifications column
Diffstat (limited to 'src/components/status_content')
| -rw-r--r-- | src/components/status_content/status_content.js | 6 |
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' }, |
