mirror of
https://github.com/bitwarden/browser
synced 2026-02-10 21:50:15 +00:00
[PM-19367] Hide owner field in edit dialog (#13909)
* Updated font list * Added empty archive SVG * Updated filters to include archive type * Added condition for archive type * Switched to use old icon * Put archive filter and no archive item behind the feature flag * Only apply archive filter when the flag is enabled * Removed empty archive svg * Removed empty archive svg * Fixed cipher domain tests * Fixed cipher service test * Added icon to storybook * simplified filter logic * used the new template syntax * fixed suggestion * Hide ownership from edit dialog * Hide ownership from edit dialog * Hide ownership from edit dialog
This commit is contained in:
@@ -171,6 +171,11 @@ 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