Merge remote-tracking branch 'origin' into token-auth

This commit is contained in:
Tuan Dang
2024-07-09 11:52:14 +07:00
22 changed files with 390 additions and 28 deletions
@@ -15,6 +15,8 @@ import queryString from "query-string";
import { useCreateIntegration } from "@app/hooks/api";
import {
Alert,
AlertDescription,
Button,
Card,
CardTitle,
@@ -40,7 +42,7 @@ export default function FlyioCreateIntegrationPage() {
const { data: integrationAuth, isLoading: isIntegrationAuthLoading } = useGetIntegrationAuthById(
(integrationAuthId as string) ?? ""
);
const { data: integrationAuthApps, isLoading: isIntegrationAuthAppsLoading } =
const { data: integrationAuthApps = [], isLoading: isIntegrationAuthAppsLoading } =
useGetIntegrationAuthApps({
integrationAuthId: (integrationAuthId as string) ?? ""
});
@@ -130,6 +132,13 @@ export default function FlyioCreateIntegrationPage() {
</Link>
</div>
</CardTitle>
<div className="px-6 pb-4">
<Alert hideTitle variant="warning">
<AlertDescription>
All current secrets linked to the related Fly.io project will be deleted before Infisical secrets are pushed to your Fly.io project.
</AlertDescription>
</Alert>
</div>
<FormControl label="Project Environment" className="px-6">
<Select
value={selectedSourceEnvironment}