1
0
mirror of https://github.com/bitwarden/web synced 2025-12-15 07:43:16 +00:00

Add hide password checkboxes to add/edit collection.

This commit is contained in:
hinton
2020-05-23 11:15:23 +02:00
parent 5b9c41f29a
commit 7d5329e186
2 changed files with 7 additions and 0 deletions

View File

@@ -73,6 +73,7 @@ export class CollectionAddEditComponent implements OnInit {
if (group != null && group.length > 0) {
(group[0] as any).checked = true;
(group[0] as any).readOnly = s.readOnly;
(group[0] as any).hidePasswords = s.hidePasswords;
}
});
}
@@ -97,6 +98,7 @@ export class CollectionAddEditComponent implements OnInit {
(g as any).checked = select == null ? !(g as any).checked : select;
if (!(g as any).checked) {
(g as any).readOnly = false;
(g as any).hidePasswords = false;
}
}