Resolve #180 and now works with #89

This commit is contained in:
the-djmaze 2022-02-10 17:01:36 +01:00
parent 25a786d584
commit 2037f21c45
6 changed files with 19 additions and 14 deletions

View file

@ -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;
}
/**