Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

fix(frontend): add isEncrypted to append metadata value

Scott Wilsonace46656574e
diff --git a/frontend/src/pages/secret-manager/SecretDashboardPage/components/SecretListView/SecretDetailSidebar.tsx b/frontend/src/pages/secret-manager/SecretDashboardPage/components/SecretListView/SecretDetailSidebar.tsx
index 54b5fae84f..632397e3e6 100644
--- a/frontend/src/pages/secret-manager/SecretDashboardPage/components/SecretListView/SecretDetailSidebar.tsx
+++ b/frontend/src/pages/secret-manager/SecretDashboardPage/components/SecretListView/SecretDetailSidebar.tsx
@@ -701,7 +701,9 @@ export const SecretDetailSidebar = ({
variant="outline_bg"
size="xs"
className="rounded-md"
- onClick={() => metadataFormFields.append({ key: "", value: "" })}
+ onClick={() =>
+ metadataFormFields.append({ key: "", value: "", isEncrypted: false })
+ }
>
<FontAwesomeIcon icon={faPlus} />
</IconButton>