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
+5 -1
View File
@@ -90,7 +90,10 @@ function filterConfigForProvider(provider, config) {
break;
}
const ret = {};
const ret = {
customNameservers: !!config.customNameservers,
};
for (const p of props) ret[p] = config[p];
return ret;
}
@@ -110,6 +113,7 @@ function createEmptyConfig() {
credentials: { client_email: '', private_key: '' },
customerNumber: '',
defaultProxyStatus: false,
customNameservers: false,
email: '',
endpoint: '',
password: '',