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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user