remove is base domain resource and flag

This commit is contained in:
miloschwartz
2025-07-15 15:07:34 -07:00
parent ff809416f5
commit f1291d4d7d
15 changed files with 8 additions and 32 deletions

View File

@@ -124,7 +124,7 @@ export default function GeneralPage() {
await api
.post(`/org/${org?.org.orgId}`, {
name: data.name,
subnet: data.subnet // Include subnet in the API request
// subnet: data.subnet // Include subnet in the API request
})
.then(() => {
toast({

View File

@@ -109,9 +109,6 @@ export default function GeneralForm() {
>([]);
const [loadingPage, setLoadingPage] = useState(true);
const [domainType, setDomainType] = useState<"subdomain" | "basedomain">(
resource.isBaseDomain ? "basedomain" : "subdomain"
);
const [resourceFullDomain, setResourceFullDomain] = useState(
`${resource.ssl ? "https" : "http"}://${resource.fullDomain}`
);