mirror of
https://github.com/Buriburizaem0n/admin-frontend-domain.git
synced 2026-02-04 20:50:07 +00:00
fix: custom_nameservers should be dns_servers (#46)
* fix: custom_nameservers should be dns_servers * fix ipv6 address conversion
This commit is contained in:
@@ -32,7 +32,7 @@ import {
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
const settingFormSchema = z.object({
|
||||
custom_nameservers: asOptionalField(z.string()),
|
||||
dns_servers: asOptionalField(z.string()),
|
||||
ignored_ip_notification: asOptionalField(z.string()),
|
||||
ip_change_notification_group_id: z.coerce.number().int().min(0),
|
||||
cover: z.coerce.number().int().min(1),
|
||||
@@ -285,7 +285,7 @@ export default function SettingsPage() {
|
||||
/>
|
||||
<FormField
|
||||
control={form.control}
|
||||
name="custom_nameservers"
|
||||
name="dns_servers"
|
||||
render={({ field }) => (
|
||||
<FormItem>
|
||||
<FormLabel>
|
||||
|
||||
Reference in New Issue
Block a user