fix too-many-attachments in notifications column
This commit is contained in:
parent
c551e3e697
commit
56de3d2f52
|
@ -48,12 +48,12 @@ const StatusContent = {
|
||||||
return true
|
return true
|
||||||
},
|
},
|
||||||
attachmentSize () {
|
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.mergedConfig.hideAttachmentsInConv && this.inConversation) ||
|
||||||
(this.status.attachments.length > this.maxThumbnails)) {
|
(this.status.attachments.length > this.maxThumbnails)) {
|
||||||
return 'hide'
|
return 'hide'
|
||||||
} else if (this.compact) {
|
|
||||||
return 'small'
|
|
||||||
}
|
}
|
||||||
return 'normal'
|
return 'normal'
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue