Fix view.json: remove version/custom from child component

Working Ignition views only have meta, position, props, type on child
components — no version or custom fields.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
igurielidze 2026-03-30 22:52:44 +04:00
parent 1ce7783a2e
commit 2130ad523a

View File

@ -560,7 +560,8 @@ export async function deployToIgnition() {
children: [{ children: [{
meta: { name: viewName }, meta: { name: viewName },
position: { width: 1, height: 1 }, position: { width: 1, height: 1 },
...component, props: component.props,
type: 'ia.shapes.svg',
}], }],
meta: { name: 'root' }, meta: { name: 'root' },
props: { mode: 'percent' }, props: { mode: 'percent' },