mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 00:26:40 +00:00
misc: added placeholder for incoming webhook url
This commit is contained in:
+6
-1
@@ -165,7 +165,12 @@ export const AddWebhookForm = ({
|
|||||||
isError={Boolean(errors?.webhookUrl)}
|
isError={Boolean(errors?.webhookUrl)}
|
||||||
errorText={errors?.webhookUrl?.message}
|
errorText={errors?.webhookUrl?.message}
|
||||||
>
|
>
|
||||||
<Input {...register("webhookUrl")} />
|
<Input
|
||||||
|
placeholder={
|
||||||
|
webhookType === WebhookType.SLACK ? "https://hooks.slack.com/services/..." : ""
|
||||||
|
}
|
||||||
|
{...register("webhookUrl")}
|
||||||
|
/>
|
||||||
</FormControl>
|
</FormControl>
|
||||||
</div>
|
</div>
|
||||||
<div className="mt-8 flex items-center">
|
<div className="mt-8 flex items-center">
|
||||||
|
|||||||
Reference in New Issue
Block a user