1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 09:13:33 +00:00

hide ownership view when viewing a cipher in the admin console (#11852)

This commit is contained in:
Nick Krantz
2024-11-05 10:09:16 -06:00
committed by GitHub
parent e206fc1819
commit adcd5bd307
6 changed files with 98 additions and 6 deletions

View File

@@ -51,6 +51,10 @@ export class CipherViewComponent implements OnChanges, OnDestroy {
* `CipherService` and the `collectionIds` property of the cipher.
*/
@Input() collections: CollectionView[];
/** Should be set to true when the component is used within the Admin Console */
@Input() isAdminConsole?: boolean = false;
organization$: Observable<Organization>;
folder$: Observable<FolderView>;
private destroyed$: Subject<void> = new Subject();