From 1ab007f8958269171d725d9dfb041675ce9e1e82 Mon Sep 17 00:00:00 2001 From: Nick Krantz Date: Mon, 23 Sep 2024 12:43:54 -0500 Subject: [PATCH] add `hideFolderSelection` for admin console ciphers --- .../src/cipher-form/abstractions/cipher-form-config.service.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libs/vault/src/cipher-form/abstractions/cipher-form-config.service.ts b/libs/vault/src/cipher-form/abstractions/cipher-form-config.service.ts index 25c0e411243..732e390865a 100644 --- a/libs/vault/src/cipher-form/abstractions/cipher-form-config.service.ts +++ b/libs/vault/src/cipher-form/abstractions/cipher-form-config.service.ts @@ -79,6 +79,9 @@ type BaseCipherFormConfig = { * List of organizations that the user can create ciphers for. */ organizations?: Organization[]; + + /** Hides the folder form field, useful in the Admin Console where folders aren't applicable */ + hideFolderSelection?: true; }; /**