Skip to content

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

Lint fix

Carlos Monastyrskifad4b13758e1
diff --git a/frontend/src/pages/secret-manager/OverviewPage/components/SecretOverviewTableRow/SecretEditRow.tsx b/frontend/src/pages/secret-manager/OverviewPage/components/SecretOverviewTableRow/SecretEditRow.tsx
index 0ba6314d19..1a33bbca1e 100644
--- a/frontend/src/pages/secret-manager/OverviewPage/components/SecretOverviewTableRow/SecretEditRow.tsx
+++ b/frontend/src/pages/secret-manager/OverviewPage/components/SecretOverviewTableRow/SecretEditRow.tsx
@@ -115,20 +115,21 @@ export const SecretEditRow = ({
const [isFieldFocused, setIsFieldFocused] = useToggle();
- const fetchSecretValueParams = importedSecret && !isSecretPresent
- ? {
- environment: importedSecret.environment,
- secretPath: importedSecret.secretPath,
- secretKey: importedSecret.secret?.key ?? "",
- projectId: currentProject.id
- }
- : {
- environment,
- secretPath,
- secretKey: secretName,
- projectId: currentProject.id,
- isOverride
- };
+ const fetchSecretValueParams =
+ importedSecret && !isSecretPresent
+ ? {
+ environment: importedSecret.environment,
+ secretPath: importedSecret.secretPath,
+ secretKey: importedSecret.secret?.key ?? "",
+ projectId: currentProject.id
+ }
+ : {
+ environment,
+ secretPath,
+ secretKey: secretName,
+ projectId: currentProject.id,
+ isOverride
+ };
// scott: only fetch value if secret exists, has non-empty value and user has permission
const canFetchValue = Boolean(importedSecret ?? secretId) && !isEmpty && !secretValueHidden;