mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 20:49:20 +03:00
parent
25a786d584
commit
2037f21c45
6 changed files with 19 additions and 14 deletions
|
|
@ -24,7 +24,7 @@ export class AttachmentCollectionModel extends AbstractCollectionModel
|
|||
* @returns {boolean}
|
||||
*/
|
||||
hasVisible() {
|
||||
return !!this.find(item => !item.isLinked);
|
||||
return !!this.filter(item => !item.isLinked()).length;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue