mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-15 15:41:27 +00:00
Add descriptions to secret folders
This commit is contained in:
+3
-2
@@ -128,13 +128,14 @@ export const ActionBar = ({
|
||||
|
||||
const { currentWorkspace } = useWorkspace();
|
||||
|
||||
const handleFolderCreate = async (folderName: string) => {
|
||||
const handleFolderCreate = async (folderName: string, description: string | undefined) => {
|
||||
try {
|
||||
await createFolder({
|
||||
name: folderName,
|
||||
path: secretPath,
|
||||
environment,
|
||||
projectId: workspaceId
|
||||
projectId: workspaceId,
|
||||
description
|
||||
});
|
||||
handlePopUpClose("addFolder");
|
||||
createNotification({
|
||||
|
||||
Reference in New Issue
Block a user