create/clan: add abstraction for initial meta

Directly passing through persisted data is bad
This commit is contained in:
Johannes Kirschbauer
2025-07-22 18:12:17 +02:00
parent a34ec8ed22
commit 34ca7a4a7b
2 changed files with 16 additions and 15 deletions

View File

@@ -220,16 +220,8 @@ export const Onboarding: Component<RouteSectionProps> = (props) => {
// todo allow users to select a template
template: "minimal",
initial: {
meta: {
name: name,
description: description,
// todo it tries to 'delete' icon if it's not provided
// this logic is unexpected, and needs reviewed.
icon: null,
},
machines: {},
instances: {},
services: {},
name,
description,
},
},
});