diff --git a/webui/src/pages/Setup.jsx b/webui/src/pages/Setup.jsx
index 09f6b8b..da867b5 100644
--- a/webui/src/pages/Setup.jsx
+++ b/webui/src/pages/Setup.jsx
@@ -538,10 +538,10 @@ function ReviewRow({ label, value }) {
}
function Step7Review({ fields, onBack, onSubmit, submitting, submitError }) {
- const domainLabel = DOMAIN_OPTIONS.find(o => o.value === fields.domain_type)?.label || fields.domain_type;
+ const domainLabel = DOMAIN_OPTIONS.find(o => o.value === fields.domain_mode)?.label || fields.domain_mode;
const ddnsLabel = DDNS_OPTIONS.find(o => o.value === fields.ddns_provider)?.label || fields.ddns_provider;
- const serviceLabels = fields.services.length
- ? fields.services.map(k => OPTIONAL_SERVICES.find(s => s.key === k)?.label || k).join(', ')
+ const serviceLabels = (fields.services_enabled || []).length
+ ? fields.services_enabled.map(k => OPTIONAL_SERVICES.find(s => s.key === k)?.label || k).join(', ')
: 'None selected';
return (
@@ -555,7 +555,7 @@ function Step7Review({ fields, onBack, onSubmit, submitting, submitError }) {
- {fields.domain_type !== 'lan_only' && (
+ {fields.domain_mode !== 'lan_only' && (
)}
@@ -623,9 +623,9 @@ export default function Setup() {
const payload = {
cell_name: cellName,
password,
- domain_type: domainType,
+ domain_mode: domainType,
...(skipDdns ? {} : { ddns_provider: ddnsProvider }),
- services,
+ services_enabled: services,
timezone,
};
try {
@@ -642,7 +642,7 @@ export default function Setup() {
}
};
- const allFields = { cell_name: cellName, domain_type: domainType, ddns_provider: ddnsProvider, services, timezone };
+ const allFields = { cell_name: cellName, domain_mode: domainType, ddns_provider: ddnsProvider, services_enabled: services, timezone };
if (done) {
return (