Move custom nameserver checkbox into the shared domain config component

This commit is contained in:
Johannes Zellner
2025-10-10 16:30:36 +02:00
parent 2fdb3668e2
commit f7e073c857
4 changed files with 13 additions and 7 deletions
+3 -2
View File
@@ -31,8 +31,9 @@ const setupToken = ref('');
const zoneName = ref('');
const provider = ref('');
const dnsConfig = ref(DomainsModel.createEmptyConfig());
const tlsProvider = ref('letsencrypt-prod-wildcard');
const tlsProvider = ref('letsenc-prod-wildcard');
const showAdvanced = ref(false);
const customNameservers = ref(false);
const ipv4Provider = ref('generic');
const ipv4Address = ref('');
const ipv4Interface = ref('');
@@ -200,7 +201,7 @@ onMounted(async () => {
<small class="helper-text">Apps will be installed on subdomains of this domain. The dashboard will be available on the <b>my{{ domain ? `.${domain}` : '' }}</b> subdomain. You can add more domains later.</small>
</FormGroup>
<DomainProviderForm :disabled="busy" v-model:provider="provider" v-model:dns-config="dnsConfig" v-model:tls-provider="tlsProvider" v-model:zone-name="zoneName" :domain="domain" :show-advanced="showAdvanced" />
<DomainProviderForm :disabled="busy" v-model:provider="provider" v-model:dns-config="dnsConfig" v-model:tls-provider="tlsProvider" v-model:zone-name="zoneName" v-model:custom-nameservers="customNameservers" :domain="domain" :show-advanced="showAdvanced" />
<div v-show="showAdvanced">
<!-- IPv4 provider -->