Browse Source

fix too-many-attachments in notifications column

Henry Jameson 3 years ago
parent
commit
56de3d2f52
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/components/status_content/status_content.js

+ 3 - 3
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'
     },