mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 12:09:20 +03:00
Make the "show inline images as attachments" optional and cleanup localization data
This commit is contained in:
parent
02eb5ad4e8
commit
a51f86ae28
45 changed files with 1006 additions and 1251 deletions
|
|
@ -150,8 +150,9 @@ export class MessageModel extends AbstractModel {
|
|||
this.addComputables({
|
||||
attachmentIconClass: () => FileInfo.getAttachmentsIconClass(this.attachments()),
|
||||
threadsLen: () => this.threads().length,
|
||||
// hasAttachments: () => this.attachments().filter(item => !item.isLinked()).length,
|
||||
hasAttachments: () => this.attachments().length,
|
||||
listAttachments: () => this.attachments()
|
||||
.filter(item => SettingsUserStore.listInlineAttachments() || !item.isLinked()),
|
||||
hasAttachments: () => this.listAttachments().length,
|
||||
|
||||
isUnseen: () => !this.flags().includes('\\seen'),
|
||||
isFlagged: () => this.flags().includes('\\flagged'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue