1
0
mirror of https://github.com/bitwarden/web synced 2025-12-15 15:53:18 +00:00

Add support for collections with hide passwords

This commit is contained in:
hinton
2020-05-21 15:55:58 +02:00
parent ca43db8d93
commit 5bc01ea13e
10 changed files with 35 additions and 9 deletions

View File

@@ -113,7 +113,7 @@ export class CollectionAddEditComponent implements OnInit {
request.name = (await this.cryptoService.encrypt(this.name, this.orgKey)).encryptedString;
request.externalId = this.externalId;
request.groups = this.groups.filter((g) => (g as any).checked && !g.accessAll)
.map((g) => new SelectionReadOnlyRequest(g.id, !!(g as any).readOnly));
.map((g) => new SelectionReadOnlyRequest(g.id, !!(g as any).readOnly, !!(g as any).hidePasswords));
try {
if (this.editMode) {