Move custom nameserver checkbox into the shared domain config component
This commit is contained in:
@@ -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: '',
|
||||
|
||||
Reference in New Issue
Block a user