mirror of
https://github.com/supabase/supabase.git
synced 2026-10-18 07:39:07 +03:00
update descriptions
This commit is contained in:
1 parent
eb2679110a
commit
2d6cd7897b
1 file changed
+10
-5
@@ -243,7 +243,11 @@ export function LogDrainDestinationSheetForm({
|
||||
formControl={form.control}
|
||||
/> */}
|
||||
{mode === 'create' && (
|
||||
<FormItemLayout layout="horizontal" label="Type">
|
||||
<FormItemLayout
|
||||
layout="horizontal"
|
||||
label="Type"
|
||||
description={LOG_DRAIN_TYPES.find((t) => t.value === type)?.description || ''}
|
||||
>
|
||||
<Select
|
||||
defaultValue={defaultType}
|
||||
value={form.getValues('type')}
|
||||
@@ -264,9 +268,6 @@ export function LogDrainDestinationSheetForm({
|
||||
</SelectItem>
|
||||
))}
|
||||
</SelectContent>
|
||||
<FormDescription className="mt-2">
|
||||
{LOG_DRAIN_TYPES.find((t) => t.value === type)?.description}
|
||||
</FormDescription>
|
||||
</Select>
|
||||
</FormItemLayout>
|
||||
)}
|
||||
@@ -381,7 +382,11 @@ export function LogDrainDestinationSheetForm({
|
||||
name="region"
|
||||
control={form.control}
|
||||
render={({ field }) => (
|
||||
<FormItemLayout layout="horizontal" label={'Region'}>
|
||||
<FormItemLayout
|
||||
layout="horizontal"
|
||||
label={'Region'}
|
||||
description="The Datadog region to send logs to."
|
||||
>
|
||||
<FormControl_Shadcn_>
|
||||
<Select_Shadcn_ value={field.value} onValueChange={field.onChange}>
|
||||
<SelectTrigger_Shadcn_ className="col-span-3">
|
||||
|
||||
Reference in new issue
Block a user