logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git
commit: 56de3d2f528a818835c04baa1c1686f91fc42161
parent c551e3e6974164f221a81ebc2d3bfbcac7978058
Author: Henry Jameson <me@hjkos.com>
Date:   Mon, 24 Jan 2022 19:53:17 +0200

fix too-many-attachments in notifications column

Diffstat:

Msrc/components/status_content/status_content.js6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 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' },