mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 10:27:26 +00:00
Greptile reviews
This commit is contained in:
+2
-2
@@ -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">
|
||||||
|
|||||||
+2
-2
@@ -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}
|
||||||
|
|||||||
Reference in New Issue
Block a user