🐛 fix(node): Service Name config

This commit is contained in:
web@ppanel 2024-12-12 23:34:49 +07:00
parent fadd17f4d1
commit d0be6854e6
2 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@ const transportConfigSchema = z
.object({
path: nullableString,
host: nullableString,
server_name: nullableString,
service_name: nullableString,
})
.nullish();

View File

@ -558,10 +558,10 @@ export default function NodeForm<T extends { [x: string]: any }>({
{['grpc'].includes(transport) && (
<FormField
control={form.control}
name='config.transport_config.server_name'
name='config.transport_config.service_name'
render={({ field }) => (
<FormItem>
<FormLabel>Server Name</FormLabel>
<FormLabel>Service Name</FormLabel>
<FormControl>
<EnhancedInput
{...field}