diff --git a/src/app/organizations/manage/collection-add-edit.component.html b/src/app/organizations/manage/collection-add-edit.component.html index bafca3c4640..956c46692cd 100644 --- a/src/app/organizations/manage/collection-add-edit.component.html +++ b/src/app/organizations/manage/collection-add-edit.component.html @@ -41,6 +41,7 @@   {{'name' | i18n}} + {{'hidePasswords' | i18n}} {{'readOnly' | i18n}} @@ -58,6 +59,10 @@ {{'groupAccessAllItems' | i18n}} + + + diff --git a/src/app/organizations/manage/collection-add-edit.component.ts b/src/app/organizations/manage/collection-add-edit.component.ts index 981cdbc2ce4..1659c8d1ccc 100644 --- a/src/app/organizations/manage/collection-add-edit.component.ts +++ b/src/app/organizations/manage/collection-add-edit.component.ts @@ -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; } }