Skip to content

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

revert(migration): revert SecretPathInput in DopplerImportModal — requires project context unavailable in org settings

Igor Correa5af5d7282ffa
diff --git a/frontend/src/pages/organization/SettingsPage/components/ExternalMigrationsTab/components/DopplerImportModal.tsx b/frontend/src/pages/organization/SettingsPage/components/ExternalMigrationsTab/components/DopplerImportModal.tsx
index 97ea69a2c4..f98f9a096c 100644
--- a/frontend/src/pages/organization/SettingsPage/components/ExternalMigrationsTab/components/DopplerImportModal.tsx
+++ b/frontend/src/pages/organization/SettingsPage/components/ExternalMigrationsTab/components/DopplerImportModal.tsx
@@ -5,7 +5,6 @@ import { InfoIcon } from "lucide-react";
import { z } from "zod";
import { createNotification } from "@app/components/notifications";
-import { SecretPathInput } from "@app/components/v2/SecretPathInput";
import {
Button,
Dialog,
@@ -20,7 +19,8 @@ import {
FieldLabel,
Tooltip,
TooltipContent,
- TooltipTrigger
+ TooltipTrigger,
+ UnstableInput
} from "@app/components/v3";
import { FilterableSelect } from "@app/components/v3/generic/ReactSelect";
import { useGetUserProjects } from "@app/hooks/api";
@@ -72,7 +72,6 @@ export const DopplerImportModal = ({ isOpen, onOpenChange, config }: Props) => {
const selectedDopplerProject = watch("dopplerProject");
const selectedTargetProjectId = watch("targetProjectId");
- const selectedTargetEnvironment = watch("targetEnvironment");
const { data: dopplerProjects = [], isPending: isLoadingProjects } = useGetDopplerProjects(
config.id
@@ -292,10 +291,11 @@ export const DopplerImportModal = ({ isOpen, onOpenChange, config }: Props) => {
</Tooltip>
</FieldLabel>
<FieldContent>
- <SecretPathInput
- value={field.value}
- onChange={field.onChange}
- environment={selectedTargetEnvironment}
+ <UnstableInput
+ {...field}
+ placeholder="e.g., /"
+ autoComplete="off"
+ isError={Boolean(error)}
/>
</FieldContent>
<FieldError>{error?.message}</FieldError>