mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 16:53:34 +00:00
[AC- 2493] Restore and Delete Unassigned Items (#8983)
* updates added for single and bulk delete and restore items including unassigned and permissions for owners and custom users
This commit is contained in:
@@ -126,6 +126,12 @@ export class CipherView implements View, InitializerMetadata {
|
||||
return this.item?.linkedFieldOptions;
|
||||
}
|
||||
|
||||
get isUnassigned(): boolean {
|
||||
return (
|
||||
this.organizationId != null && (this.collectionIds == null || this.collectionIds.length === 0)
|
||||
);
|
||||
}
|
||||
|
||||
linkedFieldValue(id: LinkedIdType) {
|
||||
const linkedFieldOption = this.linkedFieldOptions?.get(id);
|
||||
if (linkedFieldOption == null) {
|
||||
|
||||
Reference in New Issue
Block a user