mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 23:33:31 +00:00
[PM-13177] Fix Unassigned cipher collection assignment in AC (#11419)
* [PM-13177] Add saveCollectionsWithServerAdmin to CipherService * [PM-13177] Introduce isSingleCipherAdmin flag to AssignCollections component
This commit is contained in:
@@ -1249,6 +1249,8 @@ export class VaultComponent implements OnInit, OnDestroy {
|
||||
organizationId: this.organization?.id as OrganizationId,
|
||||
availableCollections,
|
||||
activeCollection: this.activeFilter?.selectedCollectionNode?.node,
|
||||
isSingleCipherAdmin:
|
||||
items.length === 1 && (this.organization?.canEditAllCiphers || items[0].isUnassigned),
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user