1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-11 22:03:36 +00:00

allow for archived ciphers to be shared into an organization (#17592)

This commit is contained in:
Nick Krantz
2025-12-02 11:43:02 -06:00
committed by GitHub
parent 92709e63af
commit dd99190ca2
2 changed files with 0 additions and 9 deletions

View File

@@ -166,10 +166,6 @@ export class CipherView implements View, InitializerMetadata {
} }
get canAssignToCollections(): boolean { get canAssignToCollections(): boolean {
if (this.isArchived) {
return false;
}
if (this.organizationId == null) { if (this.organizationId == null) {
return true; return true;
} }

View File

@@ -192,11 +192,6 @@ export class ItemDetailsSectionComponent implements OnInit {
} }
get showOwnership() { get showOwnership() {
// Don't show ownership field for archived ciphers
if (this.originalCipherView?.isArchived) {
return false;
}
// Show ownership field when editing with available orgs // Show ownership field when editing with available orgs
const isEditingWithOrgs = this.organizations.length > 0 && this.config.mode === "edit"; const isEditingWithOrgs = this.organizations.length > 0 && this.config.mode === "edit";