mirror of
https://github.com/bitwarden/browser
synced 2025-12-06 00:13:28 +00:00
allow for archived ciphers to be shared into an organization (#17592)
This commit is contained in:
@@ -166,10 +166,6 @@ export class CipherView implements View, InitializerMetadata {
|
||||
}
|
||||
|
||||
get canAssignToCollections(): boolean {
|
||||
if (this.isArchived) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (this.organizationId == null) {
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -192,11 +192,6 @@ export class ItemDetailsSectionComponent implements OnInit {
|
||||
}
|
||||
|
||||
get showOwnership() {
|
||||
// Don't show ownership field for archived ciphers
|
||||
if (this.originalCipherView?.isArchived) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Show ownership field when editing with available orgs
|
||||
const isEditingWithOrgs = this.organizations.length > 0 && this.config.mode === "edit";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user