Skip to content

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

check type when batch mode is active

adilsonc01f4b06b732
diff --git a/frontend/src/pages/secret-manager/OverviewPage/OverviewPage.tsx b/frontend/src/pages/secret-manager/OverviewPage/OverviewPage.tsx
index 7db645febe..4998d837d1 100644
--- a/frontend/src/pages/secret-manager/OverviewPage/OverviewPage.tsx
+++ b/frontend/src/pages/secret-manager/OverviewPage/OverviewPage.tsx
@@ -1550,7 +1550,7 @@ const OverviewPageContent = () => {
value: string,
type = SecretType.Shared
) => {
- if (isBatchModeActive) {
+ if (isBatchModeActive && type !== SecretType.Personal) {
addPendingChange(
{
id: crypto.randomUUID(),
@@ -1637,7 +1637,7 @@ const OverviewPageContent = () => {
skipMultilineEncoding?: boolean | null;
originalValue?: string;
}) => {
- if (isBatchModeActive) {
+ if (isBatchModeActive && type !== SecretType.Personal) {
const existingSecret = getSecretByKey(env, key);
let batchSecretValue: string | undefined = value;
@@ -1753,7 +1753,7 @@ const OverviewPageContent = () => {
secretId?: string,
type = SecretType.Shared
) => {
- if (isBatchModeActive) {
+ if (isBatchModeActive && type !== SecretType.Personal) {
const existingSecret = getSecretByKey(env, key);
if (!existingSecret) {