1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 16:53:34 +00:00

allow bulk sharing of items with new attachments

This commit is contained in:
Kyle Spearrin
2018-11-15 12:56:07 -05:00
parent 05cfa99ea0
commit ac1f8a69e1
4 changed files with 5 additions and 5 deletions

View File

@@ -41,7 +41,7 @@ export class BulkShareComponent implements OnInit {
private collectionService: CollectionService, private userService: UserService) { }
async ngOnInit() {
this.shareableCiphers = this.ciphers.filter((c) => !c.hasAttachments && c.organizationId == null);
this.shareableCiphers = this.ciphers.filter((c) => !c.hasOldAttachments && c.organizationId == null);
this.nonShareableCount = this.ciphers.length - this.shareableCiphers.length;
const allCollections = await this.collectionService.getAllDecrypted();
this.writeableCollections = allCollections.filter((c) => !c.readOnly);