mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-16 12:04:03 +00:00
misc: made secret path input show correct folders based on env in integrations
This commit is contained in:
+2
-1
@@ -76,6 +76,7 @@ export const AzureAppConfigurationConfigurePage = () => {
|
||||
}
|
||||
});
|
||||
|
||||
const selectedEnvironment = watch("sourceEnvironment");
|
||||
const { mutateAsync } = useCreateIntegration();
|
||||
|
||||
const integrationAuthId = useSearch({
|
||||
@@ -248,7 +249,7 @@ export const AzureAppConfigurationConfigurePage = () => {
|
||||
name="secretPath"
|
||||
render={({ field, fieldState: { error } }) => (
|
||||
<FormControl label="Secrets Path" errorText={error?.message} isError={Boolean(error)}>
|
||||
<SecretPathInput {...field} />
|
||||
<SecretPathInput {...field} environment={selectedEnvironment} />
|
||||
</FormControl>
|
||||
)}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user