mirror of
https://github.com/fosrl/pangolin.git
synced 2026-01-31 23:29:08 +00:00
hide provided domains if not using dns
This commit is contained in:
@@ -93,6 +93,10 @@ export default function DomainPicker2({
|
||||
const api = createApiClient({ env });
|
||||
const t = useTranslations();
|
||||
|
||||
if (!env.flags.usePangolinDns) {
|
||||
hideFreeDomain = true;
|
||||
}
|
||||
|
||||
const [subdomainInput, setSubdomainInput] = useState<string>("");
|
||||
const [selectedBaseDomain, setSelectedBaseDomain] =
|
||||
useState<DomainOption | null>(null);
|
||||
|
||||
Reference in New Issue
Block a user