Greptile reviews

This commit is contained in:
x032205
2025-06-24 23:19:42 -04:00
parent f0a95808e7
commit 9f6dca23db
2 changed files with 4 additions and 4 deletions
@@ -24,7 +24,7 @@ import { TSecretSyncForm } from "../schemas";
const AwsTagsSection = () => { const AwsTagsSection = () => {
const { control } = useFormContext< const { control } = useFormContext<
TSecretSyncForm & { destination: SecretSync.AWSSecretsManager } TSecretSyncForm & { destination: SecretSync.AWSParameterStore }
>(); >();
const tagFields = useFieldArray({ const tagFields = useFieldArray({
@@ -38,7 +38,7 @@ const AwsTagsSection = () => {
label="Resource Tags" label="Resource Tags"
tooltipText="Add resource tags to parameters synced by Infisical" tooltipText="Add resource tags to parameters synced by Infisical"
/> />
<div className="grid max-h-[20vh] grid-cols-12 flex-col items-end gap-2 overflow-y-auto"> <div className="grid max-h-[20vh] grid-cols-12 items-end gap-2 overflow-y-auto">
{tagFields.fields.map(({ id: tagFieldId }, i) => ( {tagFields.fields.map(({ id: tagFieldId }, i) => (
<Fragment key={tagFieldId}> <Fragment key={tagFieldId}>
<div className="col-span-5"> <div className="col-span-5">
@@ -36,7 +36,7 @@ const AwsTagsSection = () => {
return ( return (
<div className="mb-4 mt-2 flex flex-col pl-2"> <div className="mb-4 mt-2 flex flex-col pl-2">
<FormLabel label="Tags" tooltipText="Add tags to secrets synced by Infisical" /> <FormLabel label="Tags" tooltipText="Add tags to secrets synced by Infisical" />
<div className="grid max-h-[20vh] grid-cols-12 flex-col items-end gap-2 overflow-y-auto"> <div className="grid max-h-[20vh] grid-cols-12 items-end gap-2 overflow-y-auto">
{tagFields.fields.map(({ id: tagFieldId }, i) => ( {tagFields.fields.map(({ id: tagFieldId }, i) => (
<Fragment key={tagFieldId}> <Fragment key={tagFieldId}>
<div className="col-span-5"> <div className="col-span-5">
@@ -220,7 +220,7 @@ export const AwsSecretsManagerSyncOptionsFields = () => {
> >
<Switch <Switch
className="bg-mineshaft-400/50 shadow-inner data-[state=checked]:bg-green/80" className="bg-mineshaft-400/50 shadow-inner data-[state=checked]:bg-green/80"
id="overwrite-existing-secrets" id="sync-metadata-as-tags"
thumbClassName="bg-mineshaft-800" thumbClassName="bg-mineshaft-800"
isChecked={value} isChecked={value}
onCheckedChange={onChange} onCheckedChange={onChange}