fix license type and default selected domain type

This commit is contained in:
miloschwartz
2025-10-13 15:49:04 -07:00
parent 8b2f8ad3ef
commit 6fbba38a76
2 changed files with 2 additions and 2 deletions

View File

@@ -125,7 +125,7 @@ export default function CreateDomainForm({
resolver: zodResolver(formSchema), resolver: zodResolver(formSchema),
defaultValues: { defaultValues: {
baseDomain: "", baseDomain: "",
type: build == "oss" ? "wildcard" : "ns" type: build == "oss" || !env.flags.usePangolinDns ? "wildcard" : "ns"
} }
}); });

View File

@@ -80,7 +80,7 @@ export function LicenseKeysDataTable({
} }
}, },
{ {
accessorKey: "type", accessorKey: "tier",
header: ({ column }) => { header: ({ column }) => {
return ( return (
<Button <Button