mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-08 18:28:12 +00:00
uchange component name to globpatternexample
This commit is contained in:
@@ -15,7 +15,7 @@ import { yupResolver } from "@hookform/resolvers/yup";
|
|||||||
import { twMerge } from "tailwind-merge";
|
import { twMerge } from "tailwind-merge";
|
||||||
import * as yup from "yup";
|
import * as yup from "yup";
|
||||||
|
|
||||||
import SecretPathExamples from "@app/components/basic/popups/SecretPathExamples";
|
import GlobPatternExamples from "@app/components/basic/popups/GlobPatternExamples";
|
||||||
import { useNotificationContext } from "@app/components/context/Notifications/NotificationProvider";
|
import { useNotificationContext } from "@app/components/context/Notifications/NotificationProvider";
|
||||||
import { ProjectPermissionCan } from "@app/components/permissions";
|
import { ProjectPermissionCan } from "@app/components/permissions";
|
||||||
// TODO:(akhilmhdh) convert all the util functions like this into a lib folder grouped by functionality
|
// TODO:(akhilmhdh) convert all the util functions like this into a lib folder grouped by functionality
|
||||||
@@ -329,7 +329,7 @@ export const SecretDropzone = ({
|
|||||||
label="Secret Path"
|
label="Secret Path"
|
||||||
className="flex-grow"
|
className="flex-grow"
|
||||||
isRequired
|
isRequired
|
||||||
icon={<SecretPathExamples />}
|
icon={<GlobPatternExamples />}
|
||||||
>
|
>
|
||||||
<Input
|
<Input
|
||||||
{...register("secretPath")}
|
{...register("secretPath")}
|
||||||
|
|||||||
+2
-2
@@ -5,7 +5,7 @@ import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
|||||||
import { motion } from "framer-motion";
|
import { motion } from "framer-motion";
|
||||||
import { twMerge } from "tailwind-merge";
|
import { twMerge } from "tailwind-merge";
|
||||||
|
|
||||||
import SecretPathExamples from "@app/components/basic/popups/SecretPathExamples";
|
import GlobPatternExamples from "@app/components/basic/popups/GlobPatternExamples";
|
||||||
import {
|
import {
|
||||||
Checkbox,
|
Checkbox,
|
||||||
FormControl,
|
FormControl,
|
||||||
@@ -142,7 +142,7 @@ export const MultiEnvProjectPermission = ({
|
|||||||
<div className="flex items-center gap-2">
|
<div className="flex items-center gap-2">
|
||||||
Secret Path
|
Secret Path
|
||||||
<span className="text-xs normal-case">
|
<span className="text-xs normal-case">
|
||||||
<SecretPathExamples />
|
<GlobPatternExamples />
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</Th>
|
</Th>
|
||||||
|
|||||||
+2
-2
@@ -3,7 +3,7 @@ import { Controller, useForm } from "react-hook-form";
|
|||||||
import { yupResolver } from "@hookform/resolvers/yup";
|
import { yupResolver } from "@hookform/resolvers/yup";
|
||||||
import * as yup from "yup";
|
import * as yup from "yup";
|
||||||
|
|
||||||
import SecretPathExamples from "@app/components/basic/popups/SecretPathExamples";
|
import GlobPatternExamples from "@app/components/basic/popups/GlobPatternExamples";
|
||||||
import {
|
import {
|
||||||
Button,
|
Button,
|
||||||
FormControl,
|
FormControl,
|
||||||
@@ -86,7 +86,7 @@ export const AddWebhookForm = ({
|
|||||||
/>
|
/>
|
||||||
<FormControl
|
<FormControl
|
||||||
label="Secret Path"
|
label="Secret Path"
|
||||||
icon={<SecretPathExamples />}
|
icon={<GlobPatternExamples />}
|
||||||
isRequired
|
isRequired
|
||||||
isError={Boolean(errors?.secretPath)}
|
isError={Boolean(errors?.secretPath)}
|
||||||
errorText={errors?.secretPath?.message}
|
errorText={errors?.secretPath?.message}
|
||||||
|
|||||||
Reference in New Issue
Block a user